iPhone and iPad

How to Experiment With JavaScript on Your iPad

Erez Zukerman 24-04-2014

Love it or hate it, JavaScript is a language every modern-day programmer should be familiar with. While I’ve previously discussed ways to learn JavaScript interactively Start Coding JavaScript Right Now With These 5 Great Free Resources Read More , sometimes a great book is essential for getting a firm grounding in the subtleties of the language. But reading isn’t enough: You have to experiment, too.



If you’re sitting in front of your computer and learning, a cutting-edge JavaScript interpreter is always just a click away, tucked into your browser’s Developer Tools Figure Out Website Problems With Chrome Developer Tools Or Firebug If you've been following my jQuery tutorials so far, you may have already run into some code problems and not known how to fix them. When faced with a non-functional bit of code, it's very... Read More . But let’s say you’re lying in bed late at night with your Kindle Paperwhite Kindle Paperwhite Review & Giveaway The Kindle Paperwhite is Amazon's current flagship reader, and one that we've been wanting to review and give away for quite some time. If you already own a Kindle or a different eReader, you may... Read More , reading an in-depth overview of some intricate language features. You can’t start tapping away at your laptop, even if it’s next to you. The solution is to pull out your iPad and try out some code using the free and excellent Jasic app.

What Jasic Wants To Be

Here’s a chirpy little video showing what Jasic dreams of being:

In a nutshell, Jasic app wants to be a full-fledged development environment, letting you create full apps using nothing but your iPad (and, mercifully enough, a hardware keyboard). You can then export your JavaScript project to Xcode and continue working on it on your PC.

That’s never going to happen, at least not for the majority of users. Jasic is nice, but coding complex applications on an iPad is simply not a practical proposition. But Jasic is still an app you need to have on your iPad if you’re learning JavaScript.


What Jasic Really Is, and Why It’s Still Useful


Jasic may not live up to its own dreams, but it is a beautifully capable JavaScript scratchpad with lots of IDE convenience features.

Under the hood, Jasic offers a thoroughly modern interpreter that’s almost compliant to ECMAScript 5.1. Some advanced language features are not supported, most notably eval(). In practice, it can be used to play with and understand nearly any JavaScript feature and syntax quirk.

In terms of the interface, you get a console so you can console.log() to your heart’s content. There is also syntax highlighting, as well as auto completion — incredibly useful when tap-tap-tapping on a touchscreen keyboard.



Speaking of the keyboard, Jasic’s keyboard includes an additional row of keys, giving you access to all of those essential characters:


Note the two Alt keys: That single row actually packs 27 different keys, since each key has three separate functions. The black state is the default, while the blue Alt key activates the blue state, and the red one switches on the red state. The ever-present semicolon is now just a single tap away, as is the equal sign. You can easily quote strings, create all three types of braces, and navigate your code with the arrow keys. It rocks.


You can also save your files and get back to them later.

The Perfect Free Companion to a JavaScript Book

Jasic doesn’t have any adverts or nagging reminders to upgrade – it’s entirely free, and it lets you work in peace. If you do want some extra oomph, you can opt to buy a debugger for $2, an OAuth library, an SQLite library, and some other relevant add-ons. The complete bundle of optional extras will set you back $8, but again, if you’re just learning JavaScript, it is entirely unnecessary (except for that debugger perhaps).

I can’t overemphasize the importance of trying out code snippets while reading a JavaScript book, and Jasic lets you do this on the go (or in your bed). I find that tapping out the code (rather than copy/pasting) helps me understand JavaScript’s little syntax quirks better, too. A wonderful tool for learning — highly recommended.

Download: Jasic for iPad (free) [No Longer Available]


Explore more about: JavaScript, Web Development.

Whatsapp Pinterest

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Matthew H
    April 24, 2014 at 10:53 pm

    > If you do want some extra oomph, you can opt to buy a debugger for $2, an OAuth library, an SQLite library, and some other relevant add-ons.

    Buying a debugger. It's like the 90s all over again!

    Suppose you want to use a library they're not flogging. Would you be able to get it via NPM, or some other means?

    • Erez Z
      April 28, 2014 at 12:04 pm

      lol, nope - this is just for playing around with the core language, not for any real work.