Abstract
JavaScript applications have long been dealing with browser compatibility issues. Due to the variety of browsers, operational systems, and versions, not all new JavaScript features are available to users. Fortunately transpilers transform the new code syntax into an older version, making the code compatible with a large number of browsers. This study, which focuses on a largely used transpiler (Babel), aims to shed light on how new JavaScript features are used and what major challenges developers face when using them. We assess the top-1K JavaScript projects from GitHub, 108 Stack Overflow questions, and the browser compatibility related to 18 recent JavaScript features. We conclude that, without a transpiler, almost 14% of the web users could face a JavaScript bug when landing on a website that uses a new JavaScript feature.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.