mirror of
https://github.com/oven-sh/bun
synced 2026-02-10 10:58:56 +00:00
12 lines
245 B
JavaScript
12 lines
245 B
JavaScript
'use strict';
|
|
|
|
require('../common');
|
|
const assert = require('assert');
|
|
|
|
|
|
// Regression test for instanceof, see
|
|
// https://github.com/nodejs/node/issues/7592
|
|
const F = () => {};
|
|
F.prototype = {};
|
|
assert({ __proto__: F.prototype } instanceof F);
|