8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2870061 commit 44c9a72Copy full SHA for 44c9a72
test/parallel/test-instanceof.js
@@ -0,0 +1,7 @@
1
+'use strict';
2
+require('../common');
3
+const assert = require('assert');
4
+
5
+const F = () => {};
6
+F.prototype = {};
7
+assert(Object.create(F.prototype) instanceof F);
0 commit comments