zebra.js 147 B

12345
  1. var colors = require('../colors');
  2. module['exports'] = function (letter, i, exploded) {
  3. return i % 2 === 0 ? letter : colors.inverse(letter);
  4. };