If it’s inside a closure, i’m pretty sure you can’t.
Otherwise you just do functionName();
and hit return.
More Related Contents:
- var functionName = function() {} vs function functionName() {}
- I have returned two values but console displaying only one value.. what’s wrong with my code?
- Pass an extra argument to a callback function
- Suppress Chrome ‘Failed to load resource’ messages in console
- Simplest/cleanest way to implement a singleton in JavaScript
- Colors in JavaScript console
- JavaScript function aliasing doesn’t seem to work
- How to turn a String into a JavaScript function call? [duplicate]
- Function declarations inside if/else statements?
- Calling a JavaScript function returned from an Ajax response
- ES6 destructuring function parameter – naming root object
- How does Asynchronous Javascript Execution happen? and when not to use return statement?
- What is “function*” in JavaScript?
- JavaScript function order: why does it matter?
- How to disable JavaScript in Chrome Developer Tools?
- Higher-order functions in Javascript
- JavaScript curry: what are the practical applications?
- JavaScript: clone a function
- Get the weekday from a Date object or date string using JavaScript
- What is the source of the double-dollar sign selector query function in Chrome/Firefox?
- jQuery call function from a string [duplicate]
- $http.get(…).success is not a function
- How can I use optional chaining with arrays and functions?
- How to remove all recent console command
- Javascript – Precedence in hoisting
- Passing a local variable from one function to another
- Function not calling within an onclick event
- Breaking JavaScript execution when cookie is set
- Programmatically accessing function scope using Chrome DevTools console
- Chrome console clear assignment and variables