Showing error


#1

"Ryan".length;
"What is your name?".length;
"190.12334".length;

The code is not executing.The question is:

Write a string with at least 3 words. Check out the examples of strings above.
Find the length of the string by writing a period (full stop) and the word length, like this:

"string".length
Length counts every character in the string - including spaces!


#2

That's valid javascript, it'll execute if you run it. It won't do a whole lot though, because it doesn't say to do a whole lot.
What did you expect it to do differently?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.