News for hackers. Stuff that matters.
Re:The Makefile I use with JavaScript projects by bitpow on Wednesday February 28, 2018 @01:21PM (#16485289)
It's because there is always lag between the latest .js spec and what is supported by browsers. So transpilers (like babel) have to dumb it down from fancyNew.js to somethingIE6MightRun.js

It is not realistic/optimal to try to write your javascript to be supported by all browsers or runtime clients. It's better to write using the latest spec, and just have it dumbed down for you by transpilers at build time

Some more explanation here: https://www.excella.com/insights/typescript-vs-es6-vs-es2015

There are no comments on this comment yet.