mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
Ref: https://github.com/nodejs/node/issues/7592. PR-URL: https://github.com/nodejs/node/pull/7638 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
8 lines
158 B
JavaScript
8 lines
158 B
JavaScript
'use strict';
|
|
require('../common');
|
|
const assert = require('assert');
|
|
|
|
const F = () => {};
|
|
F.prototype = {};
|
|
assert(Object.create(F.prototype) instanceof F);
|