Debian Codegraph @

rhino/testsrc/org/mozilla/javascript/tests/commonjs/module/1.0/relative/test.js

raw symbols SCIP
1
2 exports.print = typeof print !== "undefined" ? print : function () {
3 var system = require("system");
4 var stdio = system.stdio;
5 stdio.print.apply(stdio, arguments);
6 };
7
8 exports.assert = function (guard, message) {
9 if (guard) {
10 exports.print('PASS ' + message, 'pass');
11 } else {
12 exports.print('FAIL ' + message, 'fail');
13 }
14 };
15