Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function funcName() "wykop"; // funcName() zwraca strring wykop
- function funcName2() ({
- get isThisWindow() this === window,
- isThisWindow2: () => this === window,
- get ["blabla"]() "computed names are supported toooooo"
- });
- let yep = funcName2();
- yep.isThisWindow; // false
- yep.isThisWindow2(); // true
- yep.blabla(); //"computed names are supported toooooo"
Advertisement
Add Comment
Please, Sign In to add comment