Skip to content
Snippets Groups Projects
Commit 537ef018 authored by Rick Waldron's avatar Rick Waldron
Browse files

harness test: fnGlobalObject.js

parent 18390503
No related branches found
No related tags found
No related merge requests found
// Copyright (C) 2017 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
Including fnGlobalObject.js will expose a function:
fnGlobalObject
fnGlobalObject returns a reference to the global object.
includes: [fnGlobalObject.js]
---*/
var gO = fnGlobalObject();
assert(typeof gO === "object");
assert.sameValue(gO, this);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment