[webkit-dev] question about jsc
msaboff at apple.com
Mon Oct 29 08:16:22 PDT 2012
The output of "undefined" is normal. It is the result of the expression you entered. jsc is basically returning the result of the expressions you enter. Both var and print themselves evaluate to "undefined". If you try "x = 1;" you'll get 1 as that expression returns 1.
On Oct 29, 2012, at 2:39 AM, yuqing cai <yuqingcaiw at gmail.com> wrote:
> hi, all, I try to port the webkit to a new platform(the platform is
> linux based run with glibc & glib, but not gtk), now I have build the
> jsc project successfully, but when I run the jsc program, something
> happend show as below:
>> var string="hello world :)";
> hello world :)
> now I have 2 questions:
> 1. Why the word "undefined" comes up?
> 2. How to test the jsc program?
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
More information about the webkit-dev