Type any word!

"var" in Korean

var(프로그래밍 키워드)

Definition

‘var’는 JavaScript 같은 일부 프로그래밍 언어에서 변수를 선언할 때 사용하는 키워드로, 값이 변할 수 있는 저장 공간을 의미합니다.

Usage Notes (Korean)

‘var’는 주로 교육이나 기술적인 프로그래밍 맥락, 특히 예전 JavaScript 코드에서 많이 쓰입니다. 최근에는 'let'이나 'const'가 더 자주 사용됩니다.

Examples

We use var to declare a variable in JavaScript.

JavaScript에서 변수를 선언할 때 **var**를 사용합니다.

The var keyword lets us store data.

**var** 키워드를 사용하면 데이터를 저장할 수 있습니다.

With var, you can create variables that can change value.

**var**로 값이 변할 수 있는 변수를 만들 수 있습니다.

If you see var in code, it means the value might change later.

코드에서 **var**가 보인다면, 값이 나중에 달라질 수 있다는 뜻입니다.

Many programmers now avoid var and choose 'let' or 'const' instead.

많은 프로그래머들이 이제 **var** 대신 'let'이나 'const'를 사용합니다.

Old tutorials still teach var, so don't be surprised if you see it.

옛날 튜토리얼에서는 여전히 **var**를 가르치니, 봐도 놀라지 마세요.