Skip to content

Instantly share code, notes, and snippets.

@Tocacar
Created April 26, 2019 06:17
Show Gist options
  • Save Tocacar/03e06a537e184396f694c4970463e27b to your computer and use it in GitHub Desktop.
Save Tocacar/03e06a537e184396f694c4970463e27b to your computer and use it in GitHub Desktop.
var array = [{
name: 'anne'
}, {
name: 'jim'
}, {
name: 'sam'
}, {
name: 'kay'
}, {
name: 'olive'
}]
console.log('%c <<< log start >>> ', 'color: red; background-color: yellow');
for (let i = 0; i < array.length; i++) {
console.log(array[i]);
}
console.log('%c <<< log end >>> ', 'color: yellow; background-color: black');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment