author | hannesw |
Mon, 23 Apr 2018 17:45:05 +0200 | |
changeset 49855 | 3739e9a5b6b5 |
parent 47217 | 72e3ae9a25eb |
permissions | -rw-r--r-- |
47217 | 1 |
java.lang.RuntimeException: test/nashorn/script/basic/es6/spread.js#34:8<eval>:1:9 ES6 spread operator is not yet implemented |
41924
d55f24e8953e
8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff
changeset
|
2 |
var x = [...args] |
d55f24e8953e
8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff
changeset
|
3 |
^ |
47217 | 4 |
java.lang.RuntimeException: test/nashorn/script/basic/es6/spread.js#34:8<eval>:1:15 ES6 spread operator is not yet implemented |
41924
d55f24e8953e
8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff
changeset
|
5 |
var x = [1, 2, ...args] |
d55f24e8953e
8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff
changeset
|
6 |
^ |
47217 | 7 |
java.lang.RuntimeException: test/nashorn/script/basic/es6/spread.js#34:8<eval>:1:9 ES6 spread operator is not yet implemented |
41924
d55f24e8953e
8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff
changeset
|
8 |
var x = [...args, 3, 5] |
d55f24e8953e
8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff
changeset
|
9 |
^ |
47217 | 10 |
java.lang.RuntimeException: test/nashorn/script/basic/es6/spread.js#34:8<eval>:1:13 ES6 spread operator is not yet implemented |
41924
d55f24e8953e
8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff
changeset
|
11 |
var r = func(...arr) |
d55f24e8953e
8156619: Unimplemented ES6 features should result in clear Error being thrown
hannesw
parents:
diff
changeset
|
12 |
^ |