Variables - Help!

javascript

#1

Can someone help and explain if these two variables are alike or are they different and why?

example 1:
var city;
city = "Boston";

example 2:
var coffee;
coffee = "The latte is hot";


#2

@thuy,

Reference::

google search
=the book=
javascript variable site:developer.mozilla.org
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/var

### Reference
google search
== the Book ==
javascript [your question] site:developer.mozilla.org

== discussions / opinions ==
javascript [your question] site:stackoverflow.com

== guidance ==
www.crockford.com
http://javascript.crockford.com/code.html
http://javascript.crockford.com/survey.html