fix valid script code example

This commit is contained in:
Leo Balter 2018-10-08 11:04:45 -04:00
parent 3589fa9d82
commit 4388d5dc25
1 changed files with 3 additions and 3 deletions

View File

@ -6,9 +6,9 @@ template: syntax/valid
---*/ ---*/
//- setup //- setup
// It is a Syntax Error if ModuleItemList Contains NewTarget // This is still valid in script code, and should not be valid for module code
// This is still valid in script code // https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
new.target; var x; function x() {}
//- import //- import
import('./script-code-valid.js') import('./script-code-valid.js')