let type = "HI";
console.log(type)
I know its not a reserved word but its showing in blue color while taking as a variable so got a doubt?
let type = "HI";
console.log(type)
I know its not a reserved word but its showing in blue color while taking as a variable so got a doubt?
Copyright © 2021 Jogjafile Inc.
Per this documentation,
typeis not reserved word for now or near future.https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Lexical_grammar
Note that
typeofis reserved word. So, it is a matter of readability and naming conventions that you/your team may follow.