Skip to content

Instantly share code, notes, and snippets.

View vinsim24's full-sized avatar

Vinod Philominraj vinsim24

View GitHub Profile
@nightink
nightink / underscore-each.js
Last active January 20, 2017 06:19
underscore each Simulation for loop 'continue' and 'break' keyword
/**
* underscore each Simulation for loop 'continue' and 'break' keyword
*/
var datas = [1, 2, 3, 4, 5, 6, 7];
_.each(datas, function(data, k) {
console.log(data, k);
if(k === 2) {
console.log('continue');