SHARE
TWEET

Untitled

a guest Feb 17th, 2017 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var object = {
  2.     "arr": ["Первый элемент",2,3,4,5],
  3.     "func": function() {
  4.         function awayFromMe(arr){
  5.             console.log(arr);
  6.         }
  7.     awayFromMe.call (this, this.arr);
  8.     awayFromMe.apply(this, this.arr);
  9.     }
  10. };
  11. object.func();
RAW Paste Data
Top