Status: Untriaged
Owner: ----

New issue 4152 by L446240525: Wrong evaluation order for VariableDeclaration
https://code.google.com/p/v8/issues/detail?id=4152

Test case from https://bugs.ecmascript.org/show_bug.cgi?id=3213 :
---
function testFunction() {
  var scope = {x: 0};
  with (scope) {
    var x = (delete scope.x, 1);
  }
  console.log("scope.x: " + scope.x);
  console.log("x: " + x);
}
testFunction();
---

What is the expected output?

scope.x: 1
x: undefined

What do you see instead?

scope.x: undefined
x: 1

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to