Fungsi JavaScript Shorthand

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
}
Moscode