Can I add arrow function directly under object in JS | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can I add arrow function directly under object in JS

Like this (is there any other way for this? or adding arrow function directly in object in not valid?) https://code.sololearn.com/WIR1yvl6hmYN/?ref=app

22nd Nov 2020, 1:04 PM
Himanshu Rai
Himanshu Rai - avatar
3 Answers
22nd Nov 2020, 1:14 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
+ 2
22nd Nov 2020, 1:17 PM
Himanshu Rai
Himanshu Rai - avatar
+ 1
You are welcome, Himanshu Rai 🐱
22nd Nov 2020, 1:17 PM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar