The former use JS_TypeOfValue == JSTYPE_FUNCTION. The latter uses js_IsCallable. Which implementation is "right"? In any case, having two separate ways (one more generic than the other) to do the same thing is a bad idea. js_IsCallable should include whatever the desired code is, and it should be used universally.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 547046
You need to log in before you can comment on or make changes to this bug.