14 Oct
2022
14 Oct
'22
9:06 a.m.
relearning javascript class HelloWorld { constructor(hello, world) { this.words = {“hello”: hello, “world”: world}; } print() { console.log(this.words.hello + ‘ ‘ + this.words.world); } }; (new HelloWorld(‘hello’, ‘world’)).print()