Jordan Harband
3528601c41
Promise.prototype.finally: add tests
2017-07-25 23:06:12 -07:00
deathbearbrown
5c4a2c087e
remove S# notes from esid
2017-07-25 16:42:06 -04:00
deathbearbrown
ea88caaedf
add esid to ArrayIterator/next tests
2017-07-25 16:42:06 -04:00
Rick Waldron
cc70c52547
Throw away tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-25 10:55:29 -04:00
Rick Waldron
4ea2931f16
Update all harness files to pass linting. ( #1153 )
...
```
$ python tools/lint/lint.py --whitelist lint.whitelist harness/*.js
Linting 25 files.
Linting complete. 0 errors found.
```
- Renames detachArrayBuffer-$262.detachArrayBuffer.js -> detachArrayBuffer-host-detachArrayBuffer.js (previous naming prevents command-click from terminal)
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-14 11:37:24 -04:00
Rick Waldron
5326cc5ded
Generate tests
...
See e731114cff
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-07-13 14:48:48 -04:00
Mathias Bynens
953992d235
Update RegExp Unicode property escape tests per latest proposal & Unicode 10
2017-07-13 12:35:44 -04:00
Mike Pennisi
e27b5e26c8
Ensure evaluation does not occur
2017-07-13 12:27:29 -04:00
Mike Pennisi
3269aea2ab
Remove faulty `throw` statements
...
The `throw` statements that were recently inserted into these tests have
an observable impact on the parsing behavior: they causes the `"use
strict"` token sequence to be interpreted as a string literal instead of
a directive prolog, which in turn effects how the tests are interpreted.
Remove the new `throw` statements from these tests and rely on
previously-existing statements that serve the same purpose without
impacting program strictness.
2017-07-13 12:27:29 -04:00
deathbearbrown
af8ec67363
update pending esids in AsyncFunction tests
2017-07-13 12:26:08 -04:00
deathbearbrown
8b3dddc570
update esid on Boolean/prototype tests
2017-07-13 11:48:46 -04:00
deathbearbrown
1b911a8f8a
add esid to ArrayBuffer/symbol.species tests
2017-07-12 17:08:39 -04:00
deathbearbrown
77297f2a90
add esid to ArrayBuffer/prototype/slice tests
2017-07-12 17:07:46 -04:00
deathbearbrown
c2195a0aa1
add esid to ArrayBuffer/prototype/byteLength tests
2017-07-12 17:07:38 -04:00
deathbearbrown
9c69a0204e
add esid to ArrayBuffer/prototype tests
2017-07-12 17:07:30 -04:00
deathbearbrown
2ec260f126
add esid to ArrayBuffer/isView tests
2017-07-12 17:07:05 -04:00
deathbearbrown
95b2c2d8d1
add esid to ArrayBuffer tests
2017-07-12 17:06:57 -04:00
deathbearbrown
7cc2e921c8
add esid to array/prototype/values tests
2017-07-12 17:06:49 -04:00
deathbearbrown
b2737b2d82
add esid to array/prototype/unshift tests
2017-07-12 17:06:06 -04:00
deathbearbrown
2d13a07cc1
add esid to array/prototype/toString tests
2017-07-12 17:05:52 -04:00
deathbearbrown
20b8c9b896
add esid to array/prototype/splice tests
2017-07-12 17:05:44 -04:00
deathbearbrown
e07385fff4
add esid to array/prototype/Symbol.unscopables tests
2017-07-12 17:05:36 -04:00
deathbearbrown
4ef011ffcf
add esid to array/prototype/toLocaleString tests
2017-07-12 17:05:28 -04:00
deathbearbrown
7c3675494a
add esid to array/prototype/sort tests
2017-07-12 17:05:18 -04:00
deathbearbrown
474237a725
add esid to array/prototype/some tests
2017-07-12 17:05:07 -04:00
deathbearbrown
da291ca3b1
add esid to array/prototype/shift tests
2017-07-12 17:04:32 -04:00
deathbearbrown
a62da2b499
add esid to array/prototype/reverse tests
2017-07-12 17:04:18 -04:00
Lyza Danger Gardner
8da8fff0ad
Add esid
2017-07-12 17:03:52 -04:00
deathbearbrown
bd21c97126
add esid to ArrayIterator/toStringTag tests
2017-07-12 17:03:13 -04:00
Aleksey Shvayka
4327cdb207
Improve RegExp.prototype.source coverage ( #1145 )
2017-07-11 11:14:21 -04:00
deathbearbrown
4a9c9e9886
add esid to array/protoype
2017-07-05 10:10:28 -04:00
deathbearbrown
1122913fd9
add esid to array/prototype/slice tests
2017-06-30 15:08:08 -04:00
Lyza Gardner
518df03a59
Add `esid` to built-ins/WeakMap ( #1119 )
2017-06-30 10:46:27 -04:00
Sue Lockwood
73ec5e6cd9
add esid to array/prototype/reduceRight tests ( #1118 )
2017-06-30 10:45:25 -04:00
Sue Lockwood
051bbb88ff
add esid to array/prototype/reduce tests ( #1117 )
2017-06-30 10:45:16 -04:00
Sue Lockwood
5ff6550197
add esid to array/prototype/push tests ( #1116 )
2017-06-30 10:42:59 -04:00
Sue Lockwood
d6b492205d
add esid to array/prototype/pop tests ( #1115 )
2017-06-30 10:42:52 -04:00
Sue Lockwood
a6a3cf74c4
add esid to array/prototype/map tests ( #1114 )
2017-06-30 10:42:44 -04:00
Sue Lockwood
d22b84173e
add esid to array/prototype/lastIndexOf tests ( #1113 )
2017-06-30 10:42:36 -04:00
Sue Lockwood
7457fe6608
add esid to array/prototype/keys test ( #1112 )
2017-06-30 10:42:28 -04:00
Sue Lockwood
4fe640b297
add esid to array/prototype/join ( #1111 )
2017-06-30 10:42:18 -04:00
Sue Lockwood
54e6302219
add esid to array/prototype/indexOf ( #1110 )
2017-06-30 10:42:06 -04:00
Leo Balter
4cfa5a4206
Merge pull request #1108 from lyzadanger/esid-builtins-decodeURI
...
Add `esid` to built-ins/decodeURI
2017-06-30 10:41:56 -04:00
Leo Balter
6e78d1805d
Merge pull request #1107 from lyzadanger/esid-builtins-decodeURIComponent
...
Add `esid` to built-ins/decodeURIComponent
2017-06-30 10:41:43 -04:00
Sue Lockwood
f5a5bdebb8
add esid to array/prototype/forEach tests ( #1106 )
2017-06-30 10:37:24 -04:00
Sue Lockwood
3aa94e2f08
add esid to array/prototype/findIndex tests ( #1105 )
2017-06-30 10:37:06 -04:00
Sue Lockwood
82e53e14c3
add esid to array/prototype/find tests ( #1104 )
2017-06-30 10:36:54 -04:00
Sue Lockwood
f395b67d29
add esid to array/prototype/filter tests ( #1102 )
2017-06-30 10:36:17 -04:00
Sue Lockwood
6155f6161a
add esid to array/prototype/fill tests ( #1101 )
2017-06-30 10:33:46 -04:00
Sue Lockwood
6443c43532
add esid to array/prototype/copyWithin ( #1100 )
2017-06-30 10:33:19 -04:00
Sue Lockwood
69d85e2622
add esid to array/prototype/entries ( #1099 )
2017-06-30 10:32:35 -04:00
Sue Lockwood
e9c50b3ac2
add esid to array/prototype/every ( #1098 )
2017-06-30 10:32:12 -04:00
Leo Balter
1319061ff7
Merge pull request #1097 from lyzadanger/esid-builtins-encodeuri
...
Add `esid` to built-ins/encodeURI
2017-06-30 10:29:58 -04:00
Leo Balter
2cd4c42d40
Merge pull request #1096 from lyzadanger/esid-builtins-encodeuricomponent
...
Add `esid` to built-ins/encodeURIComponent
2017-06-30 10:29:19 -04:00
Daniel Ehrenberg
193779ee0c
Add ASI let/yield test ( #1084 )
...
I had previously intended to add this test in
https://github.com/tc39/test262/pull/968 ,
but it seems like I instead checked in a copy of another test. This
patch changes it to test what was initially intended, which is part of
the semantics for https://github.com/tc39/ecma262/pull/885
2017-06-30 10:26:50 -04:00
Lyza Danger Gardner
3894e1fd13
Remove trailing whitespace
2017-06-30 10:08:11 -04:00
Lyza Danger Gardner
d854cfe266
Add esid
2017-06-30 10:08:11 -04:00
deathbearbrown
c30216b959
add esid to array/prototype/concat
2017-06-29 17:47:51 -04:00
Lyza Danger Gardner
26ef14c315
Add esid
2017-06-29 17:42:03 -04:00
Lyza Danger Gardner
4a9a3a2d06
add esid
2017-06-29 17:40:16 -04:00
Lyza Danger Gardner
a876cc2dae
Remove trailing whitespace
2017-06-29 17:35:30 -04:00
Lyza Danger Gardner
90528aaa09
Add esid
2017-06-29 17:35:30 -04:00
Lyza Danger Gardner
e26c66bfff
Add esid
2017-06-29 17:33:32 -04:00
Lyza Danger Gardner
e6712e0d16
Clean up formatting (indents)
2017-06-29 17:32:23 -04:00
Lyza Danger Gardner
8d8bdc1f92
Add esid
2017-06-29 17:32:23 -04:00
deathbearbrown
005e570f7c
add esid to Array/of
2017-06-29 17:29:17 -04:00
deathbearbrown
1341088b36
add esid to frontmatter for Array/length
2017-06-29 17:28:20 -04:00
deathbearbrown
2f4d0be4b8
Add esid to Array/isArray front matter
2017-06-29 17:24:52 -04:00
Lyza Danger Gardner
5ad8dc4219
Remove a wee bit o’ trailing whitespace
2017-06-29 17:23:07 -04:00
Lyza Danger Gardner
208344319e
Add esid
2017-06-29 17:23:07 -04:00
Lyza Danger Gardner
f3f2c4d47b
Remove trailing whitespace
2017-06-29 15:49:49 -04:00
Lyza Danger Gardner
b7daa23582
Add esid
2017-06-29 15:49:38 -04:00
Lyza Danger Gardner
dfad507eea
Remove trailing whitespace
2017-06-29 15:42:11 -04:00
Lyza Danger Gardner
5e59ccefdf
Add esid
2017-06-29 15:42:01 -04:00
Lyza Danger Gardner
6a0b72ce4a
Remove trailing whitespace
2017-06-29 14:03:20 -04:00
Lyza Danger Gardner
94f0c2401a
Add esid
2017-06-29 14:03:03 -04:00
Lyza Danger Gardner
4d896c0dc2
Remove trailing whitespace
2017-06-29 13:45:58 -04:00
Lyza Danger Gardner
f32871c708
Add esid
2017-06-29 13:45:45 -04:00
Daniel Ehrenberg
461e84459b
Merge pull request #1083 from rwaldron/1082
...
Duplicate src/dstr-assignment/obj-rest-computed-property.case into regular and sloppy versions. Fixes gh-1082
2017-06-29 10:41:52 +02:00
Daniel Ehrenberg
89be4ebff0
Merge pull request #924 from littledan/date-throw
...
Test that Date.prototype.toString throws for non-Date receiver
2017-06-29 10:33:17 +02:00
Rick Waldron
38150b3535
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 15:49:02 -04:00
Rick Waldron
144d73ef27
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 12:10:19 -04:00
Rick Waldron
13dfae4da9
Fixes test/harness/nans.js
...
- correction to license
- use Number.isNaN
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
a6aa58a44f
harness test: propertyHelper.js (error case)
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
7eef084cf5
harness test: timer.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
c896312175
Update description in test/harness/sta-override-error.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
5165cc11cf
harness test: testTypedArray.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
537ef01882
harness test: fnGlobalObject.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
1839050378
Removes relocated error.js tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
5f5e1655e1
harness test: nan.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
7c9b648d08
harness test: tcoHelper.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
8a5841acdc
harness test: promiseHelper.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
3e85c608da
harness test: sta.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
759ad854e9
harness test: detachArrayBuffer.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
8e360021b8
harness test: decimalToHexString.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
86f03a2ef8
harness test: dateConstants.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
27f3452b33
harness test: arrayContains.js
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:59 -04:00
Rick Waldron
86209d8fd9
Make all harness/* file names consistent; update occurrences in test
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 11:53:58 -04:00
Mike Pennisi
ef76e548a4
Re-generate tests
2017-06-28 11:24:36 -04:00
Mike Pennisi
81d00def42
Force "early error" tests to fail if evaluated
...
This pattern makes expectations more explicit by making test files more
literal.
2017-06-28 11:24:36 -04:00
Rick Waldron
e5ffc904d6
Adding Symbol to Array.prototype.sort "throws on a non-undefined non-function" ( #1066 )
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-28 10:34:05 -04:00
Leo Balter
29e69ddb4e
Merge pull request #1072 from rwaldron/1050-addl
...
Remove tests that allow `...{` in object destructuring. Ref gh-1050
2017-06-28 10:32:21 -04:00
Daniel Ehrenberg
e2ee94f452
Fix tests for toFixed and toExponential ( #1080 )
...
toExponential had a typo, and toFixed was against an earlier version
of the specification proposal. The tests pass against a version of V8
which attempts to implement the new spec.
2017-06-28 10:29:47 -04:00
Sue Lockwood
b07621ded1
update Array/From files ESID to sec-array.from ( #1077 )
2017-06-27 17:12:06 -04:00
Daniel Ehrenberg
c74e1e4edf
Merge pull request #1074 from shvaikalesh/improve-named-groups-coverage
...
Improve named groups coverage
2017-06-27 18:21:08 +02:00
Aleksey Shvayka
ce0ba9b2e6
add escaped substitution test
2017-06-27 00:45:08 +03:00
Rick Waldron
d0ba3251d2
Restore migration to assert.sameValue
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-26 14:36:51 -04:00
Aleksey Shvayka
f7b15e18d4
add empty replace test
2017-06-26 18:57:19 +03:00
Aleksey Shvayka
cb22dad417
add empty references tests
2017-06-26 18:35:16 +03:00
Aleksey Shvayka
c38f1d12b0
add groups object tests
2017-06-23 22:59:57 +03:00
Rick Waldron
2dd8e8b2c4
Throw away tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-23 13:21:39 -04:00
Daniel Ehrenberg
a2f44c7151
Additional test for range case pointed out by @anba
2017-06-23 12:16:28 -04:00
Daniel Ehrenberg
0e6acc0842
Change test based on new spec version
2017-06-23 12:16:28 -04:00
Daniel Ehrenberg
b82be14e26
Add tests for invalid \c in character class
...
This patch implements tests for https://github.com/tc39/ecma262/pull/864
2017-06-23 12:16:28 -04:00
Daniel Ehrenberg
ce217fffad
Improve invalid \c escape tests
2017-06-23 12:16:28 -04:00
Rick Waldron
2086f66c55
Update verifyProperty to allow checking `value`
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-23 11:58:16 -04:00
Rick Waldron
1a2244faf8
Fix all test/harness/*.js tests ( #1068 )
...
$ test262-harness --hostType=d8 -t 4 --hostPath=`which d8` test/harness/*.js
Ran 147 tests
147 passed
0 failed
$ test262-harness --hostType=node -t 4 --hostPath=`which node` test/harness/*.js
Ran 147 tests
147 passed
0 failed
$ test262-harness --hostType=jsshell -t 4 --hostPath=`which js` test/harness/*.js
Ran 147 tests
147 passed
0 failed
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-22 22:25:35 -03:00
Aleksey Shvayka
0d2b3562e9
Add basic Symbol constructor tests ( #1069 )
...
* add Symbol.length test
* add Symbol.name test
* add global.Symbol test
2017-06-22 22:11:26 -03:00
Rick Waldron
e3fa66550f
Merge pull request #930 from littledan/date-tostring-tests
...
Date toString tests
2017-06-22 16:22:08 -04:00
Kevin Gibbons
1ca752482d
Add test that noctal escapes are forbidden in strings in strict code
2017-06-19 12:03:47 -07:00
Daniel Ehrenberg
2f3787936b
Fix typo from review
2017-06-15 06:25:17 +02:00
Daniel Ehrenberg
0314c87b08
Add tests for Number printing precision ranges ( #932 )
...
These tests are against the needs-consensus pull request at
https://github.com/tc39/ecma262/pull/857
2017-06-12 20:10:15 -03:00
Leo Balter
6110675fd3
Merge pull request #1045 from caiolima/obj-rest-computed-prop
...
Adding case to computed property
2017-06-12 19:22:53 -03:00
Jordan Harband
f1c1b33b53
Array.prototype.sort and %TypedArray%.prototype.sort should throw on a non-undefined non-function ( #1059 )
...
Per https://github.com/tc39/ecma262/pull/785/
2017-06-12 19:21:33 -03:00
Rick Waldron
44e19a0fe6
Throw away tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-06-12 17:10:27 -04:00
Rick Waldron
c8574edd9c
Merge pull request #968 from littledan/no-let-yield-await-asi
...
Tests for PR to Prohibit ASI between 'let' and 'yield'/'await'
2017-06-09 13:14:35 -04:00
Rick Waldron
670731a25e
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-31 16:05:26 -04:00
Rick Waldron
60a6a7c81e
Merge pull request #1039 from rwaldron/dstr-assignment_for-await-of
...
[WIP] for-await-of: dstr-assignment, templates & cases
2017-05-31 15:46:40 -04:00
Leo Balter
e8fb452df8
Merge pull request #1044 from rwaldron/dstr-binding-async-iteration
...
Move dstr-binding for-await-of cases and templates to dstr-binding-async-iteration. Fixes gh-1043
2017-05-25 15:39:18 -04:00
Caio Lima
8f5afc2915
Generated tests for computed property Object rest destructuring
2017-05-22 23:05:35 -03:00
Rick Waldron
0a66e9b9de
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-22 16:03:23 -04:00
Arup Rakshit
dabee7bd9b
Fix spelling typo. ( #1046 )
2017-05-22 11:53:38 -04:00
Leo Balter
06f2f3e810
Remove more unnecessary tests
...
These tests are not helpful for their respective APIs being tested.
They don't add any coverage for the built-in apis and basically check
behaviors that might conflict with a implementation defined global.
2017-05-17 19:33:54 -04:00
Leo Balter
715b9052cf
Remove unnecessary tests
...
These tests are not adding any coverage to the respective API they
should be covering.
There are other files checking cases for array-like objects, and
playing this with the global might cause issues and unnexpected
behavior on specific environments like browsers.
2017-05-17 15:27:51 -04:00
Mathias Bynens
d587abccdb
Fix test involving a Unicode property escape in a character class range ( #1034 )
...
Thanks to @anba for spotting this: 4843f049fa (r116528031)
2017-05-17 13:07:50 -04:00
Leo Balter
dde12905df
Generate tests
2017-05-16 17:32:25 -04:00
Rick Waldron
9f3b85fb21
for-await-of: dstr-assignment, default template
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-16 13:24:41 -04:00
Rick Waldron
2b0a8cc1c4
Merge pull request #1037 from leobalter/asyncIterators
...
Add templates for dstr-binding w/ for-await-of looping over async iterators
2017-05-16 09:25:23 -04:00
Leo Balter
8d7e98265c
Generate tests
2017-05-15 16:02:44 -04:00
Leo Balter
5204678e8f
Generate tests
2017-05-15 15:25:33 -04:00
Leo Balter
17b13b9d01
Merge pull request #1020 from rwaldron/dstr-binding_for-await-of-async-gen-func-error
...
for-await-of: dstr-binding, error, async func & async gen templates
2017-05-12 18:28:39 -04:00
Leo Balter
e25ec4b340
Remove SIMD tests ( #1032 )
...
The proposal is no longer on Stage 3 neither in active development.
From https://github.com/tc39/ecmascript_simd
> SIMD.js has been taken out of active development in TC39 and removed from Stage 3, and is not being pursued by web browsers for implementation.
2017-05-12 16:18:24 -04:00
Rick Waldron
5f274a8581
Generate tests
...
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
2017-05-12 16:01:41 -04:00
Leo Balter
5f04d2b1f3
Generate tests
2017-05-10 14:08:35 -04:00
Leo Balter
f6175af556
Add tests for Promises rejection queue ( #1029 )
...
* Add tests for Promises rejection queue
These basic tests assert the rejection is captured but a later queued job
from a chain of then calls.
* fixup! Add tests for Promises rejection queue
2017-05-10 12:59:18 -04:00
André Bargull
947bf6d3e2
Add tests for Array.prototype methods when length property exceeds safe integer limit ( #1028 )
2017-05-10 12:20:06 -04:00
Leo Balter
ed714d702a
Merge pull request #1017 from anba/expr-lookahead-restr
...
Expression statement lookahead restriction and identifier tests
2017-05-09 18:38:11 -04:00
Leo Balter
9481020e91
Merge pull request #1023 from anba/redeclaration
...
Lexical redeclarations in block- and switch-statements
Background feedback from @anba:
In https://tc39.github.io/ecma262/#sec-switch-statement-static-semantics-lexicallydeclarednames , all lexically declared names from the different case clauses are combined.
For each case clause, the LexicallyDeclaredNames definition from https://tc39.github.io/ecma262/#sec-block-static-semantics-lexicallydeclarednames applies, which has:
```
StatementListItem : Declaration
1. Return the BoundNames of Declaration.
```
And in https://tc39.github.io/ecma262/#prod-Declaration we've got:
```
Declaration[Yield, Await] : HoistableDeclaration[?Yield, ?Await, ~Default]
```
And in https://tc39.github.io/ecma262/#prod-HoistableDeclaration :
```
HoistableDeclaration[Yield, Await, Default] : FunctionDeclaration[?Yield, ?Await, ?Default]
```
And the BoundNames of a FunctionDeclaration is its BindingIdentifier https://tc39.github.io/ecma262/#sec-function-definitions-static-semantics-boundnames .
And there's also B3.3.5 (https://tc39.github.io/ecma262/#sec-switch-duplicates-allowed-static-semantics ) which allows duplicate FunctionDeclarations in sloppy mode in switch-statements.
2017-05-05 13:04:26 -04:00
André Bargull
0271179c4a
Use assert-lib: intl402/PluralRules
2017-05-04 21:25:02 +02:00
André Bargull
bfac377fca
Use assert-lib: intl402
2017-05-04 21:16:14 +02:00