20. The Object Contructor Question



SyntaxError: Unterminated template literal

No idea what I'm doing wrong

Edit: Reset code and it worked this time

`// here we make bob using the Object constructor
var bob = new Object();
bob.name = "Bob Smith";
bob.age = 20;


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.