Lines Matching refs:evaluate
118 assertEquals(1, exec_state.frame(0).evaluate('a').value());
119 assertEquals(2, exec_state.frame(0).evaluate('b').value());
120 assertEquals(5, exec_state.frame(0).evaluate('eval').value());
121 assertEquals(3, exec_state.frame(1).evaluate('a').value());
123 assertThrows(() => exec_state.frame(1).evaluate('b'), ReferenceError);
125 typeof exec_state.frame(1).evaluate('eval').value());
126 assertEquals(5, exec_state.frame(2).evaluate('a').value());
127 assertEquals(6, exec_state.frame(2).evaluate('b').value());
129 typeof exec_state.frame(2).evaluate('eval').value());
132 exec_state.frame(0).evaluate('a = "foo"').value());
134 exec_state.frame(1).evaluate('a = "bar"').value());