make deepEq work in strict js.#289
Conversation
|
While I think about it, is there any reason we aren't writing those in LS ? Is Function.toString that evil ? |
|
|
|
I think the main issue with Function.toString is closed-over variables, otherwise it's quite useful. |
|
@clkao: But you can't rely on it at all. Tomorrow, it may be gone. It may return garbage every time it is called. It doesn't even have to be deterministic. Some functions can be created and don't have string representations (using |
|
@michaelficarra Harmony is going to standardise it. |
And SpiderMonkey now conforms to that. So barring old SpiderMonkey, |
No description provided.