11 lines
567 B
Plaintext
11 lines
567 B
Plaintext
tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode3.ts(2,1): error TS1100: Invalid use of 'eval' in strict mode.
|
|
tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode3.ts(2,1): error TS2539: Cannot assign to 'eval' because it is not a variable.
|
|
|
|
|
|
==== tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode3.ts (2 errors) ====
|
|
"use strict";
|
|
eval = 1;
|
|
~~~~
|
|
!!! error TS1100: Invalid use of 'eval' in strict mode.
|
|
~~~~
|
|
!!! error TS2539: Cannot assign to 'eval' because it is not a variable. |