loading...

re: JavaScript: Latest Stage-4 features VIEW POST

FULL DISCUSSION
 

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.

 

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.

Code of Conduct Report abuse