Tech Blogs
Sunday, 5 January 2020
JS simple arrow function
Below is the code for a simple arrow function in javascript
var total =(a,b)=>a+b;
console.log(total(6,20));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment