โก2๐ค2โคโ๐ฅ1๐1๐ฅ1
๐ค3๐ฅ2โคโ๐ฅ1โก1
โก3โคโ๐ฅ1๐1๐ฅ1๐1
Nima qaytaradi?
Anonymous Quiz
29%
"object" , "object"
14%
"null" , "function"
29%
"object" , "function"
29%
"null" , "object"
๐ฅ2๐คท2โคโ๐ฅ1โก1๐1
#challenge
const obj = {
value: 10,
getValue: function () {
return () => this.value;
}
};
const value = 20;
const getValue = obj.getValue();
console.log(getValue());๐2๐2โคโ๐ฅ1๐1๐ฅ1
๐ค2๐2โคโ๐ฅ1๐1๐ฅ1
โก2โคโ๐ฅ1๐1๐ฅ1๐1
๐3โคโ๐ฅ1๐1๐ฅ1
๐3โก1โคโ๐ฅ1๐1
๐3โก1โคโ๐ฅ1๐1
๐2โคโ๐ฅ1โก1๐1๐ฅ1
๐2โคโ๐ฅ1โก1๐1๐ฅ1
๐3โคโ๐ฅ1๐1๐ฅ1
new Object() + new Object()
Anonymous Quiz
0%
''
31%
NaN
38%
'[object Object]'
31%
'[object Object][object Object]'
๐3โก1โคโ๐ฅ1๐1
๐3โก1โคโ๐ฅ1๐ฅ1
๐2โก1โคโ๐ฅ1๐ฅ1๐1
๐2โคโ๐ฅ1โก1๐1๐ฅ1
๐2โคโ๐ฅ1โก1๐1๐ฅ1
๐2โก1โคโ๐ฅ1๐1๐ฅ1
๐2โคโ๐ฅ1โก1๐1