R
ray_usenet
Why is this:
eval('[{\"active":"true"}]')
is OK, but
eval('{"active":"true"}') tells me I'm missing ";" ?
Then why is it that if I put parentheses around the second statement:
eval('({"active":"true"})')
Then it's OK again?
Thanks in advance!
Ray
eval('[{\"active":"true"}]')
is OK, but
eval('{"active":"true"}') tells me I'm missing ";" ?
Then why is it that if I put parentheses around the second statement:
eval('({"active":"true"})')
Then it's OK again?
Thanks in advance!
Ray