+ 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 Antworten
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