Strict mode Failing
Expected test to throw error of type SyntaxError, got test262: export default null;
non-Strict mode Failing
Expected test to throw error of type SyntaxError, got test262: export default null;
Features:
- ∅
Expected test to throw error of type SyntaxError, got test262: export default null;
Expected test to throw error of type SyntaxError, got test262: export default null;
// Copyright (C) 2016 the V8 project authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /*--- description: Statement cannot contain an `export` declaration esid: sec-modules negative: phase: parse type: SyntaxError flags: [module] ---*/ $DONOTEVALUATE(); test262: export default null;