DEV Community

Discussion on: JavaScript: Latest Stage-4 features

Collapse
 
jcarlosweb profile image
Carlos Campos • Edited

because there is no method called format dates, something like this:

(new Date())->format('d-m-Y'); // 24-07-2020

I don't understand why they make such a mess, when the easy thing is for you to format. I find it INCREDIBLE.

Collapse
 
udkl profile image
Uday K • Edited

JS as a language itself is such a mess ! I don’t understand the hipstering around it really. It’s only popular because there is no other option on the browser. And don’t even get me started on nodeJs.