Week 8 6 Call 1
001window.onload = function(){ 002 const obj = { 003 age: 7 004 }; 005 006 //function that the call wiill be on 007 008 let increaseAge = function(a) 009 { 010 return this.age = this.age + a; 011 }; 012 013 increaseAge.call(obj , 5 ); 014 // obj.age will now have a value of 12 015 console.log(obj); 016}