Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

what does => mean in javascript

// You can use => to define arrow functions.

const getSum = (a, b) => {
return a + b
}

getSum(1, 2) // 3

 
PREVIOUS NEXT
Tagged: #javascript
ADD COMMENT
Topic
Name
2+4 =