bvtaAtHInterview Experience
Phone Screen Facebook
var length = 10; function fn() { console.log(this.length); } var obj = { length: 5, method: function(fn) { fn(); arguments[0](); } }; obj.method(fn, 1); what is the result ?
07951
#facebookAnonymous interview experiences, offers and career talk from frontend engineers.
Joined Aug 8, 2024
var length = 10; function fn() { console.log(this.length); } var obj = { length: 5, method: function(fn) { fn(); arguments[0](); } }; obj.method(fn, 1); what is the result ?