Pregunta de entrevista de Pyxis

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

Respuesta de la entrevista

Anónimo

30 sep 2020

hello2.bind(ob)();