Arrow Function (=>) in ES6+
In ES6 - the "Arrow Functions" syntax was implemented

    const myFunc = function(a,b){
        return a + b;
    }
was changed to:

    const myFunc = (a,b) => {
        return a + b ;
    }
or to:
    
    const myFunc = (a,b) => a + b ;
without parameters

    const myFunc = () => console.log('from the function') ;
    or 
    const myFunc = () => {
        statements
    }
An Arrow function does not create his own object and does not have their own context
Using 'this' reference will alwats refer to the window level
back to main page