JavaScript Test - remove var declaration in test #2 to fix scope, bug 351503

git-svn-id: svn://10.0.0.236/trunk@212051 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bclary%bclary.com 2006-09-20 03:44:18 +00:00
parent 63e38d1877
commit ed6f66e91a

View File

@ -62,7 +62,7 @@ function test()
expect = 'TypeError: can\'t convert Object to string';
try
{
var a=1; b=2; c={toString: null}; "hahbhc".replace(/[abc]/g, eval);
a=1; b=2; c={toString: null}; "hahbhc".replace(/[abc]/g, eval);
actual = 'No Error';
}
catch(ex)