JavaScript arrow functions

const func = (a,b) => {
    let c = a+b;
    return c;
}

//this is equal to

function name(a,b) {
    let c = a + b;
    return c;
}