Answers for "function shorthand javascript"

0

function shorthand javascript

This question is mostlikely referring to an arrow function, which can be written as below:

//This is if assigning the function to a variable/let/const is neccessary
const <Function name> =(<Arguments go here>)=>{
	//Function body here
}

//Without assignment
(<Arguments go here>)=>{
	//Function body here
}
Posted by: Guest on March-06-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language