Issue 44: return value handling odd
http://code.google.com/p/v8/issues/detail?id=44

New issue report by pete.gontier:
After invoking a script, I attempt to evaluate the return value. As
documented in the sample, returning a string works fine. However, I want to
return an object. If I write this script...

     { foo:12 }

...then IsObject returns false. I don't know what type the return value
has, but I do know IsString also returns false and I know that the value
converts to "12" in ASCII. If I return this...

     { foo:12, bar:13 }

...then the script doesn't compile, even though I am pretty sure it is
valid JSON.


Issue attributes:
        Status: New
        Owner: ----

-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to