Forked from giannisp/gist:1d8dc9a6ed13876c51ccfe9fefcb311e
Last active
September 9, 2022 20:25
-
-
Save JonHaywood/a682934fbadc249e5bf99e6e9b35358e to your computer and use it in GitHub Desktop.
Using lodash from Chrome's dev tools console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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