Why Functions of ES6 is so UGLY?? 😕😕 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why Functions of ES6 is so UGLY?? 😕😕

29th Sep 2020, 4:12 PM
Sajib Adhikary
Sajib Adhikary - avatar
5 Answers
+ 2
Once u will complete 10-20 project with es6 it will also be friendly/descent with you. 😂😂 You missed the name of your descent one.😅😅
29th Sep 2020, 4:51 PM
Divya Mohan
Divya Mohan - avatar
+ 6
Bcz you r not understanding it in efficient way. Es6 makes your code efficient less code and more result. In basic , every thing was visible to u , which make it beutiful for u but it increases the code length. You should once go through advantages of arrow fxn.
29th Sep 2020, 4:32 PM
Divya Mohan
Divya Mohan - avatar
+ 4
I think you just offended Javascript!
29th Sep 2020, 11:31 PM
Sonic
Sonic - avatar
+ 3
Functions in ES 6 look normal to me function (arg1) { return typeof arg1 } Do you mean arrow functions (aka inline functions)? arg1 => typeof arg1 Looks pretty and clean to me.
29th Sep 2020, 4:17 PM
Ore
Ore - avatar
+ 1
Function (param){ Code } Look decent to me. And basic syntax But in ES6 it looks horrible.
29th Sep 2020, 4:47 PM
Sajib Adhikary
Sajib Adhikary - avatar