[webkit-dev] question about jsc

2012-10-29 Thread yuqing cai
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:

Re: [webkit-dev] question about jsc

2012-10-29 Thread Michael Saboff
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. Concerning testing, If

Re: [webkit-dev] question about jsc

2012-10-29 Thread yuqing cai
Michael, Thanks for your reply, now I understand it. :~) 于 2012年10月29日 23:16, Michael Saboff 写道: 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