New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError: _ is not defined #2722
Comments
Your code assigns the underscore library to a constant named |
Omg thanks, since I didn't take any lesson of javascript I wasn't understanding what did this command really means, but now I got it, thanks :D |
Was looking this for hours... |
Thank you. this works when you are working on react application also. |
thnx a lot |
After having some trouble installing underscore (because it's not underscore.js but only underscore), I try to use a underscore function (_.once) but I get this error, I have
const Underscore = require("underscore")
on the top of my code, but still, and when I tryconst Underscore = require("underscore.js")
it doesn't find the modul, so you could please enlighten me ?I'm a reall beginner at JavaScript, forgive me if I do something obviously wrong ;p
The text was updated successfully, but these errors were encountered: