andreasgal/j2me.js — pull request #497 by marco-c (2014-10-27 11:41:37+00:00)
Title: Pass ctx as last optional parameter in natives

This way natives that don't need the *ctx* parameter can avoid to define it.

In a followup, I'll make more natives be independent from *ctx* by moving *newArray* and its relatives to *util*.