This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
$parse regression in 1.4.0-beta.3 #10968
Closed
Description
var s = {c:function() {return {b:1}}};
// this works as before
$parse("[a=c(),d=a.b+1]")(s)
// [ { b: 1 }, 2 ]
s
// { c: [Function], a: { b: 1 }, d: 2 }
// this used to give the same result as above
$parse("e=1;[a=c(),d=a.b+1]")(s)
// [ { b: 1 }, 1 ]
s
// { c: [Function], e: 1, a: { b: 1 }, d: 1 }