This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Js common errors | |
//It sometimes when using a string function such as 'toLoweCase' | |
const name = 'JMA' | |
const nameWithError = name.toString(); | |
// name.toLowerCase is not a function | |
const nameLowered = name.toString().toLowerCase() |