English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am learning JavaScript and this is one of the questions that I can't seem to find an answer to.

2007-03-05 08:40:11 · 2 answers · asked by judi s 1 in Computers & Internet Programming & Design

2 answers

it would return an error!

myWorld isn't myWord, and you need quotes!

var myWord="superior"

alert(myWord.length)

will alert you to the count of characters. that should be about 8!

2007-03-05 09:18:42 · answer #1 · answered by jake cigar™ is retired 7 · 1 0

Count the letters in "s u p e r i o r"...

8

2007-03-05 16:43:59 · answer #2 · answered by N2FC 6 · 1 2

fedest.com, questions and answers