Hi,
I'm just looking over some JavaScript tutorials which im running quick tests in firebug within firefox.
When I type in
Code:
var phrase = "This is your phrase";
var words = phrase.split(" ");
and select run in firebug shouldn't the variable phrase be split up into an Array? or am I missing something here? Because at the minute I just get this:
>>> var phrase = "This is your phrase"; var words = phrase.split (" ");
undefined
Thanks