Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

() = javascript

//Normal function
function sum(a, b) {
  return a + b;
}

//Arraw function
let sum = (a, b) => a + b;
 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
4+3 =