function f(x) {
console.log(x);
}
class C{
[f(1)](){}
[f(2)] = "hi";
[f(3)](){}
[f(4)] = "hi";
}
currently prints 1,3,2,4, which is incorrect - it should be in order.
Bug 1552229 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
```
function f(x) {
console.log(x);
}
class C{
[f(1)](){}
[f(2)] = "hi";
[f(3)](){}
[f(4)] = "hi";
}
```
currently prints 1,3,2,4, which is incorrect - it should be in order.