Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
/* Get Programming with JavaScript
 * Listing 2.01
 * Declaring a variable
 */
var score;
/* Further Adventures
 *
 * 1) Delete the semicolon at after the word score.
 *    JS Bin should complain and show an error message.
 *    Take a look at the message.
 *
 * 2) Add the semicolon back after the word score.
 *    The semicolon shows the end of the statement.
 *
 * 3) Declare two more variables.
 *
 */
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
jrlarsenpro
0viewers