-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Closed
Description
MDN URL: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Strings
What information was incorrect, unhelpful, or incomplete?
Conversely, every number has a method called toString() that converts it to the equivalent string. Try this:
let myNum2 = 123;
let myString2 = myNum2.toString();
typeof myString; (*) <--- This is wrong, need to be myString2
Specific section or headline?
Numbers vs. strings
What did you expect to see?
(*) typeof myString2;
Did you test this? If so, how?
MDN Content page report details
- Folder:
en-us/learn/javascript/first_steps/strings - MDN URL: https://developer.mozilla.org/en-US/docs/Learn/JavaScript/First_steps/Strings
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/learn/javascript/first_steps/strings/index.html
- Last commit: 962cc77
- Document last modified: 2021-02-08T10:57:08.000Z
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels