| // Copyright 2009 the Sputnik authors. All rights reserved. |
| // This code is governed by the BSD license found in the LICENSE file. |
| |
| /*--- |
| info: Do not crash with postincrement custom property |
| es5id: 8.6_A2_T1 |
| description: Try to implement postincrement for custom property |
| ---*/ |
| |
| var __map={foo:"bar"}; |
| |
| ////////////////////////////////////////////////////////////////////////////// |
| //CHECK#1 |
| |
| __map.foo++; |
| assert.sameValue(__map.foo, NaN); |
| |
| // |
| ////////////////////////////////////////////////////////////////////////////// |