start concise methods
This commit is contained in:
committed by
Richard van Velzen
parent
2babe737e0
commit
0d8dea9538
@@ -132,6 +132,22 @@ destructuring_arguments: {
|
||||
}
|
||||
}
|
||||
|
||||
concise_methods: {
|
||||
input: {
|
||||
x = {
|
||||
foo(a, b) {
|
||||
return x;
|
||||
}
|
||||
}
|
||||
y = {
|
||||
foo([{a}]) {
|
||||
return a;
|
||||
}
|
||||
}
|
||||
}
|
||||
expect_exact: "x={foo(a,b){return x}};y={foo([{a}]){return a}};"
|
||||
}
|
||||
|
||||
number_literals: {
|
||||
input: {
|
||||
0b1001;
|
||||
|
||||
Reference in New Issue
Block a user