Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert arrow function to normal function javascript

const fn = () => {
	console.log('Arrow function')
}

// Same as the arrow function from above
function fn() {
	console.log('Normal function')
}
 
PREVIOUS NEXT
Tagged: #convert #arrow #function #normal #function #javascript
ADD COMMENT
Topic
Name
8+5 =