Kevin Powell - CommunityKP-C
Kevin Powell - Community16mo ago
18 replies
snxxwyy

javascript questions

Hey, i've just started properly diving into javascript and have a few questions.

1.) What are the less obvious differences between let, const and var? I'm aware let is used to declare generic variables and const is used for constant variables that never change etc. however i've heard you shouldn't use var but i've also heard it has it's uses in some situations?

2.) Why do functions such as .length not require double parenthesis after it, but functions such as .toUpperCase() do?

3.) What do @param's mean in comments? I've seen them in a few files.

I'd appreciate any help. Thank you in advance.
Was this page helpful?