DEV Community

Discussion on: Function.bind.bind does not work in JavaScript

Collapse
 
akashkava profile image
Akash Kava

That is interesting, I can check if prototype is undefined, that means function is already bound.

Collapse
 
dexygen profile image
George Jempty

No it doesn't mean that necessarily. Somebody could explicitly set the prototype to undefined for instance.

Thread Thread
 
anduser96 profile image
Andrei Gatej • Edited

So if .prototype is already undefined it means that the function cannot be chained, right?