mirror of
https://github.com/tc39/test262.git
synced 2025-05-29 11:10:32 +02:00
- Add cases for mixing module and script code - Rename test case from return promise to thenable - Fix script code case with valid loaded fixture - Add a test to assert a promise return - Add case for specifier toString rejection - Add case for specifier toString - Test Assignment expression abrupt completion - Test Promise return
8 lines
349 B
JavaScript
8 lines
349 B
JavaScript
// Copyright (C) 2018 Leo Balter. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
// This is still valid in script code and strict and non strict modes
|
|
// This is valid as module code
|
|
// https://tc39.github.io/ecma262/#sec-scripts-static-semantics-lexicallydeclarednames
|
|
var smoosh; function smoosh() {}
|