Non-destructuring default parameters

This commit is contained in:
Fábio Santos
2015-11-22 17:40:05 +00:00
parent 392ac4ff31
commit f07ab4666f
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 = {