This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix errors in documentation for Function::callWithThis
Summary: The documentation in two out of the three variants of `Function::callWithThis` incorrectly stated that the `this` value was to be `undefined` instead of set to `jsThis`, which contradicts the point of the `callWithThis` method existing in the first place. This diff fixes that issue. Changelog: [General] [Fixed] - Fix documentation comments for HermesJS's `Function::callWithThis` method to accurately reflect how `this` is handled. Reviewed By: jbower-fb Differential Revision: D19714074 fbshipit-source-id: 123688c1f7e578d6356bec54604fb6e30f06b0b1
- Loading branch information
Showing 1 changed file with 5 additions and 7 deletions.