index.js 196 B

1234567891011121314
  1. 'use strict'
  2. var r = /[A-Z]/g
  3. module.exports = function (a, b) {
  4. a = a.replace(r, replacer)
  5. b = b.replace(r, replacer)
  6. return a === b
  7. }
  8. function replacer (m) {
  9. return m.toLowerCase()
  10. }