Details
-
Sub-task
-
Resolution: Fixed
-
P4
-
None
-
None
-
b86
-
generic
-
generic
-
Verified
Description
Object.getOwnPropertyDescriptor(function(){"use strict"},"caller").get.hasOwnProperty("prototype") should be false. But, nashorn evaluates this to true
But this is also true for built-in functions such as "parseInt".
parseInt.hasOwnProperty("prototype")
should be false as well. Nashorn evaluates that to true.
But this is also true for built-in functions such as "parseInt".
parseInt.hasOwnProperty("prototype")
should be false as well. Nashorn evaluates that to true.