Ticket #5493 (closed enhancement: fixed)
isObjectLiteral to work correctly with custom objects with empty prototype
|Reported by:||rkatic||Owned by:|
At cost of 2 additional function calls, we have now support for custom objects which prototype is not changed.
If someone is defining all methods inside the constructor F, isObjectLiteral(new F) will now return false.