Doubt on declaring variables

In this lecture “Functions in JavaScript”, on Line 11, you have declared variable “area” without even declaring it with “var” Keyword. Is it possible to declare variables without using “var” keyword? Please explain it to me briefly

HI @200701165 ,
Variables can be declared and initialize without the var keyword . However, a value must be assigned to a variable declared without the var keyword.

Check this out to learn more about javascript variables.