I’ve checked out the Closure library as instructred, but can’t find a way to use the library (i.e. goog.require(‘math’) inside the Console just for trying it out and testing purposes.
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Once Closure Library’s base.js is loaded, you can reference the library in the Chrome Dev Tools console.
closure-test.html (load base.js)
Chrome Dev Tools Console
Observing
Resources | Frames | (closure-test.html) | Scripts, math.js will be loaded.