-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 8
-
Component/s: core-libs
-
None
-
b112
-
generic
-
generic
jjs> function public(){"use strict"}
Expected: throws strict-mode SyntaxError
Actual: no error
jjs> function f(public){"use strict"}
Expected: throws strict-mode SyntaxError
Actual: no error
Expected: throws strict-mode SyntaxError
Actual: no error
jjs> function f(public){"use strict"}
Expected: throws strict-mode SyntaxError
Actual: no error