current commit
230110.2 · tools: add `prefer-proto` rule
'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);