Sha256: ff570a5fc2bd322d1004a83b44d447452c5cc3ce956219afbff93f4bc27039f9
Contents?: true
Size: 526 Bytes
Versions: 20
Compression:
Stored size: 526 Bytes
Contents
(function(program, execJS) { execJS(program) })(function(module, exports, console) { #{source} }, function(program) { var output, print = function(string) { process.stdout.write('' + string); }; try { result = program(); if (typeof result == 'undefined' && result !== null) { print('["ok"]'); } else { try { print(JSON.stringify(['ok', result])); } catch (err) { print('["err"]'); } } } catch (err) { print(JSON.stringify(['err', '' + err])); } });
Version data entries
20 entries across 20 versions & 3 rubygems