Security update to Drupal 8.4.6
[yaffs-website] / node_modules / underscore.string / map.js
1 var makeString = require('./helper/makeString');
2
3 module.exports = function(str, callback) {
4   str = makeString(str);
5
6   if (str.length === 0 || typeof callback !== 'function') return str;
7
8   return str.replace(/./g, callback);
9 };