T
T
Taras Labiak2014-10-14 08:53:50
JavaScript
Taras Labiak, 2014-10-14 08:53:50

Is it possible to get the object that a function is bound to in JavaScript?

function func1() {}
var func2 = func1.bind(someObject);

Is it possible, having only func2 , to somehow get a pointer to someObject ? Not via func2 execution

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2014-10-14
@sergiks

They write that it is impossible.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question