Closed

Description
- Version: 6.3.0:
- Platform: Darwin 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64:
- Subsystem:
In Node 4, the last statement evaluates to true
, but in Node 6 it evaluates to false
. Is this a bug?
F = () => {};
F.prototype = {};
Object.create(F.prototype) instanceof F;
Another user verified the behavior on their Windows system: http://stackoverflow.com/questions/38253656/instanceof-evaluates-to-true-in-node-4-but-not-node-6