Javascript Array sensor(kind)
Array.prototype.sensor = function (kind) { this.isSensor = kind || true/*from w w w . j a v a2 s .co m*/ return this }