Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
apply
//nodejs v6.4.0 var obj1={ firstName: "Pavithra", lastName: "Balraj", fullName: function() { return this.firstName+ " " +this.lastName; } }; var obj2={ firstName: "Usha", lastName: "Balraj" }; console.log(obj1.fullName.apply(obj2)); var obj = { x: 81, getX: function() { return this.x; } }; console.log(obj.getX.bind(obj)()); console.log(obj.getX.call(obj)); console.log(obj.getX.apply(obj));
run
|
edit
|
history
|
help
0
Add items on Set
JSON parse
AVL-GO-FLAT
Range List for JavaScript
horsevalue
neural spam network
Sort based on keys
To compare; creating async methods in javascript
Find the missing number in array
Rest Params