Vote count:
0
var object1 = {name: "my object", ha: function() { return this;} }
object1.ha() returns Object {name: "my object", ha: function}
var object2 = {name: "my object2", ha2: function() { return function() { return this} } }
object2.ha()() returns window
asked 1 min ago
Aucun commentaire:
Enregistrer un commentaire