code: function (input) {
          function camelCaseSingle(input) {
          return String(input).toLowerCase().replace(/[-|\s](.)/g, function (match, group1) {
              return group1.toUpperCase();
          });
          }
  
          if(typeof input == 'string')
              return camelCaseSingle(input);
          else
              return input.map(camelCaseSingle);
      }
docs: camel-cases the input string. If the parameter is an array, applies to all items.