On Sat, Feb 26, 2011 at 1:02 AM, Luis Furquim <[email protected]> wrote:

> I think it doesnt has any relation to your error, but the code:
> var client = new XMLHttpRequest,
> has a 'new' keyword before the XMLHttpRequest function. But
> there are no parenthesis after the function name.


That's legal in JS, e.g.

[stephan@cheyenne:~/]$ v8-juice-shell  -e 'print(new Date)'
Sat Feb 26 2011 01:50:23 GMT+0100 (CET)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to