Become a member
Sign in
The latest Titanium and Alloy do fully support ES6 right now.
1
1
Brenton House 🚀
Ophir Oren
Ophir Oren
Jul 29, 2017 · 1 min read

Hi, tried writing a very simple ES6 class in Titanium app but it’s failing with “Unexpected token: name (class)” — According to what you’ve said it should be supported. Am I missing something? do I need to upgrade via NPM like you showed in your article to get native ES6 support?

    Ophir Oren

    Written by

    Ophir Oren

    Write the first response

    Discover Medium

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

    Make Medium yours

    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

    Become a member

    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
    AboutHelpLegal