Essential JavaScript Interview Questions Day127
Today #Day127 of #365DaysOfCode, Learning Essential JavaScript Interview Questions.
21. What will the following code output to the console and why
var hero = {
_name: 'John Doe',
getSecretIdentity: function (){
return this._name;
...
dheerajy1.hashnode.dev2 min read