Static vs Dynamic Typing

In C#, a variable's type is fixed when it's declared. In JavaScript, variables have no type; values do, and a variable can hold any of them. Declare with const by default, let when the value changes, and never var.

Updated

Cheat sheet: Static vs Dynamic Typing
Category
JavaScript
Level
Novice
Tags
const (javascript), Dynamic Typing, JavaScript, let (javascript), Object Literal, Static Typing, Template Literal, typeof Operator