Question 13 of 5822%
13
Consider the below code snippets, What will be the output?
'use strict';
var obj = {
i: 10,
b: () => console.log(this.i),
c: function() {
console.log(this.i);
}
}
obj.b();
obj.c();
13/58
'use strict';
var obj = {
i: 10,
b: () => console.log(this.i),
c: function() {
console.log(this.i);
}
}
obj.b();
obj.c();