Pergunta de entrevista da empresa Pyxis

Please invoke hello2, so that John is printed const ob = { name: 'John', hello: function() { console.log(this.name); } } const hello2 = ob.hello;

Resposta da entrevista

Sigiloso

30 de set. de 2020

hello2.bind(ob)();