-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
None
-
b86
-
generic
-
generic
-
Verified
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.