Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save davidystephenson/42d83abbeed79039288e1edda1f98bd5 to your computer and use it in GitHub Desktop.
Save davidystephenson/42d83abbeed79039288e1edda1f98bd5 to your computer and use it in GitHub Desktop.
// 2. Create a variable `mixedArray` that contains a mix of data types, including numbers, strings, and booleans.
var mixedArray = ['hello', 42, true]
console.log(mixedArray)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment