Closed ioshm closed 2 years ago
Have to ask that what's the use case behind this..? A bug though definitely.
Have to ask that what's the use case behind this..?
This was discovered through fuzzing. One case where I can see this being used is in obfuscated JavaScript, much like for anything looking goofy but valid 😆
Jint will throw an NRE when executing
-/[]/
but Edge and Node will returnNaN
instead.