here is the javascript code:
var test = { "h" : function (a) {return a;}, "say" : "hello" };
First start:
test['h'] && true
the result is correct
second run:
true && test['h']
Result
is the function ()
my question is why the first launch and second launch give an excellent result
source share