Non-destructuring default parameters
This commit is contained in:
committed by
Richard van Velzen
parent
7f3dbb6df7
commit
084437bc6d
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user