Skip to content

Instantly share code, notes, and snippets.

@easierbycode
Created April 26, 2016 21:47
Show Gist options
  • Save easierbycode/e5ddad2c9372c9bd74eb2bafd655ac5f to your computer and use it in GitHub Desktop.
Save easierbycode/e5ddad2c9372c9bd74eb2bafd655ac5f to your computer and use it in GitHub Desktop.
'use strict';
let count = 0;
for (let [a, b] of [[5,10]]) {
console.log( `${a} ${b}` );
count++;
}
console.log( count );
// 5 10
// 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment