Skip to content

Instantly share code, notes, and snippets.

@giannisp
Created January 13, 2017 09:50
Show Gist options
  • Save giannisp/1d8dc9a6ed13876c51ccfe9fefcb311e to your computer and use it in GitHub Desktop.
Save giannisp/1d8dc9a6ed13876c51ccfe9fefcb311e to your computer and use it in GitHub Desktop.
Using lodash from Chrome's dev tools console
# How to make lodash available via "_" on console
var el = document.createElement('script');
el.src = 'https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.js';
document.getElementsByTagName('head')[0].appendChild(el);
# Use _.VERSION or any other function to verify that it worked
# lodash 4.x version quick link:
https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.4/lodash.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment