Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save JonHaywood/a682934fbadc249e5bf99e6e9b35358e to your computer and use it in GitHub Desktop.
Save JonHaywood/a682934fbadc249e5bf99e6e9b35358e 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/4.17.21/lodash.min.js';
document.getElementsByTagName('head')[0].appendChild(el);
# Use _.VERSION or any other function to verify that it worked
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment