Non-destructuring default parameters

This commit is contained in:
Fábio Santos
2015-11-22 17:40:05 +00:00
committed by Richard van Velzen
parent 7f3dbb6df7
commit 084437bc6d
3 changed files with 39 additions and 4 deletions

View File

@@ -132,6 +132,14 @@ destructuring_arguments: {
}
}
default_arguments: {
input: {
function x(a = 6) { }
function x(a = (6 + 5)) { }
}
expect_exact: "function x(a=6){}function x(a=6+5){}"
}
concise_methods: {
input: {
x = {