Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var object = {
- "arr": ["Первый элемент",2,3,4,5],
- "func": function() {
- function awayFromMe(arr){
- console.log(arr);
- }
- awayFromMe.call (this, this.arr);
- awayFromMe.apply(this, this.arr);
- }
- };
- object.func();
Add Comment
Please, Sign In to add comment