0
Q:

arrow function in javascript w3schools

function add(a, b) {
  return a + b;
}

var add = (a, b) => {
  return a + b;
}

var add = (a, b) => a + b;
1
let errow = () => {
  //the code you want to return;
};
Or
let errow = ('paramiter') => {
//the code you want to return
}
1

New to Communities?

Join the community