var obj = {
x: 81,
getX: function() {
return this.x;
}
};
alert(obj.getX.bind(obj)());
alert(obj.getX.call(obj));
alert(obj.getX.apply(obj));
var obj = {
x: 81,
getX: function() {
return this.x;
}
};
alert(obj.getX.bind(obj)());
alert(obj.getX.call(obj));
alert(obj.getX.apply(obj));
For further actions, you may consider blocking this person and/or reporting abuse
Tripti Verma -
Tosin Akinosho -
Saloni Singh -
Corey O'Donnell -
Top comments (0)