Home | History | Annotate | Download | only in mjsunit

Lines Matching refs:const

28 // Test the handling of initialization of deleted const variables.
35 // Deleting 'x' removes the local const property.
38 "const x = 3; assertEquals(3, x);" +
49 // Delete 'x' to remove the local const property.
52 "const x = 5; assertEquals(5, x);" +
63 var source = "delete x; const x = 7; assertEquals(7, x)";
77 var source = "delete x; const x = 8";
84 var source = "const x = 9; assertEquals(9, x); x = 10; assertEquals(9, x)";
95 source += "const x = 10; assertEquals(10, x); x = 11; assertEquals(10, x)";
104 var source = "delete x; const x = 13; assertEquals(13, x)";