Miscallenous Functions - Arrow Functions

 const sum = (a, b) => {

  console.log(a + b);
};
sum(8, 7);
const cube =a => {
  console.log(Math.pow(a, 3));
};
cube(4);
const hello = () => {
  console.log("Helloo");
};
hello();


Comments

Popular posts from this blog

Callback Hell

TODO list with DOM

Refactoring callback hell code