'use strict'; var indexof = require('indexof'); if (indexof([ 3, 4, 5, 6 ], 4) === 1) { console.log('ok'); }