Sha256: ebb65fa7158b7a9de1ddfb6d75db8f14dcd812506e1a1e5ceeb7d57f822ca648
Contents?: true
Size: 428 Bytes
Versions: 7
Compression:
Stored size: 428 Bytes
Contents
(function(program, execJS) { execJS(program) })(function() { #{source} }, function(program) { var output; 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
7 entries across 6 versions & 1 rubygems