Studia Universitatis Babes-Bolyai: Series Informatica (Sep 2010)

JavaScript Generators

  • Daniel Constantin Ghita

Journal volume & issue
Vol. 55, no. 3
pp. 95 – 110

Abstract

Read online

The JavaScript language is used for client-side programing in web applications. JavaScript is sent as source code from the web server to the user's browser and executed locally. Because not all current browsers support the latest version of JavaScript, developers are limited to use only the features supported by the lowest common denominator. I propose an approach to solve this problem by using an intermediary compile step which transforms the code written by the user into code supported by all browsers. This allows web developers to use the latest version of JavaScript today, without having to wait until all major browsers implement all the features.