Skip to content

Instantly share code, notes, and snippets.

@alemohamad
Last active May 16, 2019 16:43
Show Gist options
  • Save alemohamad/f10f5818af3180b68948d88dd03611b5 to your computer and use it in GitHub Desktop.
Save alemohamad/f10f5818af3180b68948d88dd03611b5 to your computer and use it in GitHub Desktop.
browserify example file
var _ = require('lodash');
var $ = require('jquery');
_([1, 2, 3, 2, 4, 5, 3, 4, 6, 7, 8, 8, 9])
.uniq()
.each(function(i) {
console.log(i);
$("#items").append("<li>" + i + "</li>");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment