flavors/ringo-full.js
function mainFunction (arg) {
  if (typeof arg == 'string') {
    return JS2.Parser.parse(arg).toString();
  } else if (arg instanceof Array) {
    return new JS2.Array(arg);
  } else {
    return new JS2.Array();
  }
}
function mainFunction (arg) {
  if (typeof arg == 'string') {
    return JS2.Parser.parse(arg).toString();
  } else if (arg instanceof Array) {
    return new JS2.Array(arg);
  } else {
    return new JS2.Array();
  }
}
function mainFunction ( arg ) { if ( typeof arg == 'string' ) { return JS2 . Parser . parse ( arg ) . toString ( ) ; } else if ( arg instanceof Array ) { return new JS2 . Array ( arg ) ; } else { return new JS2 . Array ( ) ; } }
temporarily set root to JS2 global var for this scope
temporarily set root to JS2 global var for this scope