- 2

Why sololearn says to the output is 6?

Mystring="abcdef""; Console.log(Mystring.lenght)

3rd Feb 2019, 12:22 PM
Momo Freedy Moreira Tavares
Momo Freedy Moreira Tavares - avatar
4 odpowiedzi
+ 4
What output would you expect?
3rd Feb 2019, 12:41 PM
Anna
Anna - avatar
+ 1
By the way, it doesn't output 6 because you have to many speech marks :)
3rd Feb 2019, 2:16 PM
Eragon1980
Eragon1980 - avatar
+ 1
And length is spelt wrong
3rd Feb 2019, 2:16 PM
Eragon1980
Eragon1980 - avatar
- 1
I just see this not normally but i have some knowledge with js miss
3rd Feb 2019, 12:58 PM
Momo Freedy Moreira Tavares
Momo Freedy Moreira Tavares - avatar