en.javascript.info/1-js/4-data-structures/6-array/3-call-array-this/task.md
Ilya Kantor 480e69b843 work
2016-07-17 16:53:32 +03:00

169 B

importance: 5


Calling in an array context

What is the result? Why?

let arr = ["a", "b"];

arr.push(function() {
  alert( this );
})

arr[2](); // ?