/
Javascript Functions
Javascript Functions
This is how we write and call a function in Javascript. You can copy paste this directly into the Javascript console:
function APPhelloWorld(Input){
return "Hello " + Input;
}
var Result = APPhelloWorld("World");
console.log(Result);
You should see something like this:
We can assign Javascript functions into variables like this:
var X = APPhelloWorld;
X("Fred");
, multiple selections available,
Related content
Javascript Variables - Covering the core types
Javascript Variables - Covering the core types
More like this
DOM Element
DOM Element
More like this
How can I reset the browser through Javascript?
How can I reset the browser through Javascript?
Read with this
How can do some funky thing with strings that I don't know?
How can do some funky thing with strings that I don't know?
More like this
DOM Elements versus HTML markup
DOM Elements versus HTML markup
Read with this
Javascript Strings
Javascript Strings
More like this