Re:From Express.js to AWS Lambda: Migrating Existing Node Ap...
by joshribakoff on Saturday March 31, 2018 @12:38PM
(#16723959)
Typescript is a language that compiles to es5. Your comment makes it sound like typescript somehow makes an old runtime support new features. You can actually use any transpiler to produce older JavaScript, this is not unique to typescript, and you're shipping es5 code at the end of the day which has tradeoffs to consider
[ Parent
| on HN ]
Re:From Express.js to AWS Lambda: Migrating Existing Node Ap...
by ihsw2 on Monday April 02, 2018 @04:54PM
(#16739191)
My comment was clear, anyone investigating the subject can confirm that polyfills are used to "make" an old runtime support new features (eg: using generators for feature-complete async/await on ES6, using a custom state-machine for feature-complete async/await on ES5/ES3).