testsrc.org.mozilla.javascript.tests.commonjs.module.testNonSandboxed.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rhino Show documentation
Show all versions of rhino Show documentation
A distribution of rhino which releases snapshots from a submodule folder containing forked sources.
The newest version!
/**
* @version $Id: testNonSandboxed.js,v 1.1 2011/04/07 22:24:37 hannes%helma.at Exp $
*/
var assert = require("assert");
function isUndefined(x) {var u; return x === u;}
assert.ok(isUndefined(require.paths));
assert.ok(isUndefined(module.uri));