Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var name = "John Doe";
- function showThis(message) {
- //console.log("name => ", name);
- console.log("this.name => ", this.name);
- console.log("message => ", message);
- }
- var user = {
- name: "Jane Doe"
- };
- showThis("hello!", "fuuuu!");
- showThis.call(user, "hello again!", "must be ignored");
Add Comment
Please, Sign In to add comment