We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f007c0a commit ef9092bCopy full SHA for ef9092b
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