UNPKG

johnny-five

Version:

The JavaScript Robotics and Hardware Programming Framework. Use with: Arduino (all models), Electric Imp, Beagle Bone, Intel Galileo & Edison, Linino One, Pinoccio, pcDuino3, Raspberry Pi, Particle/Spark Core & Photon, Tessel 2, TI Launchpad and more!

9 lines (8 loc) 190 B
Object.defineProperty(Array.prototype, "includes", { value: function(entry) { return this.indexOf(entry) !== -1; }, enumerable: false, configurable: false, writable: false });