node/test/fixtures/is-object.js
cjihrig 8c0f776f23 test: add known issue test for #7788
15157c3c3d changed the CLI REPL
to default to useGlobal: false by default. This caused the
regression seen in https://github.com/nodejs/node/issues/7788.
This commit adds a known issue test while a proper resolution
is determined.

Refs: https://github.com/nodejs/node/pull/5703
Refs: https://github.com/nodejs/node/issues/7788
PR-URL: https://github.com/nodejs/node/pull/7793
Reviewed-By: Rich Trott <rtrott@gmail.com>
2016-07-20 13:01:42 -04:00

3 lines
77 B
JavaScript

'use strict';
module.exports.isObject = (obj) => obj.constructor === Object;