Essential JavaScript Interview Questions Day128
Today #Day128 of #365DaysOfCode, Learning Essential JavaScript Interview Questions.
23. Testing your this knowledge in JavaScript: What is the output of the following code?
var length = 10;
function fn() {
console.log(this.length);
}
var obj = {...
dheerajy1.hashnode.dev2 min read