Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
</body>
</html>
 
// declare a variable called chipmunks and use it to store
// an array of names
const chipmunks = ["Alvin", "Simon", "Theodore"];
// reference the first value in the array
// here we pass in a zero, since that represents the first
// element (value) in an array
const bandMember = chipmunks[0] //> the value stored in bandMember is "Alvin"
console.log(bandMember)
Output

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

Dismiss x