Sha256: 0714dbf75514060face72a40c8901d5f1b279948b483dbbefb9b90a392f2601b
Contents?: true
Size: 504 Bytes
Versions: 9
Compression:
Stored size: 504 Bytes
Contents
(function(program, execJS) { execJS(program) })(function() { #{source} }, function(program) { #{json2_source} var output, print = function(string) { WScript.Echo(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
9 entries across 9 versions & 1 rubygems