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:
parent
63e38d1877
commit
ed6f66e91a
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user