javascript constructors question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

javascript constructors question

my changename method in object constructor is not changing name plz help https://code.sololearn.com/Whpm3E4GYEI2/?ref=app

23rd Jul 2021, 3:06 PM
CodeSmith
CodeSmith - avatar
2 Answers
23rd Jul 2021, 3:15 PM
CodeSmith
CodeSmith - avatar
+ 1
「HAPPY TO HELP」 so in javascript i need to include this keyword to display or access the value of an instance? plz help i am getting way too confused here, things are different from c# or is it that i missing something? 😩 https://code.sololearn.com/ckTWS9gN5aEJ/?ref=app
23rd Jul 2021, 3:28 PM
CodeSmith
CodeSmith - avatar