arrow notatie
function add(a,b,c){
return a + b + c;
}const add = (a,b,c) => {
return a + b + c;
}const hallo = () => {
console.log("hallo");
}
hallo();const add = (a, b) => {
return a + b;
}
let total: number = add(1, 2);verkorte notatie
Last updated