Introduction
This contains example code and reminders of syntax.
Home | Applications | Documentation | Transport | Personal |
Web | AJAX | CSS3 | DOM | HTML5 | JavaScript | JQuery | Node.JS | TypeScript |
Introduction
This contains example code and reminders of syntax.
Fucntion Expressions
These are similar to Delegates in C#. They are variables that contain an expression
that is a function. These can be called from other functions or as parameters in
other functions.
var sayHi = function(){
console.log("Hello");
}
sayHi():
or
var sayHi = () => console.log("Hello");