I'm a new in javascript. Could You tell me please how to on the display a character "i" of the "Mississippi" on the edit code? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

I'm a new in javascript. Could You tell me please how to on the display a character "i" of the "Mississippi" on the edit code?

js https://code.sololearn.com/W5sxhUR0NLNE/?ref=app https://code.sololearn.com/Ws54zWups8Sh/?ref=app

9th Jul 2020, 1:50 PM
Egor Tonchev(EGO)
Egor Tonchev(EGO) - avatar
2 Answers
+ 5
EGO Avoid using built-in names as variable names. For example String is the constructor function of all string objects.
11th Jul 2020, 6:43 AM
Kevin ★
+ 3
You misspelled 'length': var Lenght= String.lenght; Change to: var Lenght= String.length;
9th Jul 2020, 2:01 PM
FluffyBucketSnek
FluffyBucketSnek - avatar