Skip to main content

Command Palette

Search for a command to run...

Variables in JavaScript

Updated
โ€ข1 min read
Variables in JavaScript
G

Full stack engineer but passionnated by front-end Angular Expert / NX / JavaScript / Node / Redux State management / Rxjs

Variables

In JavaScript likes others languages we are using variables ! ๐Ÿ˜ฑ

They are containers for storing data values, in this article I will just explain how to use them, because the entire subject is a little bit hard, and at the beginning you don't need to know everything to start using them.

Examples

carbon (3).png

If you want to know the difference between let and var I can recommend this fantastic article by Flavio Copes : Click me

In all cases you should try it ! It's very simple but it's a must in every language ๐Ÿค˜

๐Ÿš€ In my next post you can learn what is undefined in JavaScript ๐Ÿš€

More from this blog

G

Gilles Ferrand's Blog

18 posts

Lead Developer Front-end - Enthusiast Developer - NX & Angular Lover