[webkit-dev] question about jsc

yuqing cai yuqingcaiw at gmail.com
Mon Oct 29 02:39:53 PDT 2012


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:

qing at HAHA:/data/project/webOS/WebKit/Source/JavaScriptCore/JavaScriptCore.catwalk$
./jsc
> var string="hello world :)";
undefined
> print(string);
hello world :)
undefined
>

now I have 2 questions:
1. Why the word "undefined" comes up?
2. How to test the jsc program?

qing
2012-10-29


More information about the webkit-dev mailing list