Files
react-native/ReactCommon
Gabriel Nunes 8ad67de59e Update documentation for Function::call to reflect how 'this' behaves in non-strict mode
Summary: The `Function::call` method says it leaves the JS `this` object undefined. According to my tests, that's not completely true: if the function is defined to use strict mode via `"use strict"` either inside itself or in the file it was defined in, it does leave it `undefined`, but if the function is defined in non-strict mode, it sets `this` to the global object instead. This diff updates the documentation to reflect this.

Reviewed By: mhorowitz

Differential Revision: D19613483

fbshipit-source-id: 4b9ecf81c6318592be05a216748dcb22e32989f8
2020-02-25 13:02:32 -08:00
..
2020-02-20 08:30:46 -08:00
2020-02-20 08:30:46 -08:00
2020-02-20 08:30:46 -08:00
2020-02-20 08:30:46 -08:00
2020-02-20 08:30:46 -08:00
2020-02-20 08:30:46 -08:00