Fix thinko in test.

This commit is contained in:
Robert Sayre 2010-04-04 11:00:45 -04:00
parent c95c882b76
commit cd7a9e4cf3

View File

@ -4,7 +4,7 @@
* Contributor: Jason Orendorff
*/
if (typeof evalcx != 'function') {
if (typeof evalcx == 'function') {
var cx = evalcx("");
evalcx("function f() { return this; }", cx);
var f = cx.f;