example/redundant.js
function(string) {
    var chars = new Array(string.length);

    var charCode;
    for (var i = 0, len = chars.length; i < len; ++i) {
      charCode = string.charCodeAt(i);
      if (charCode > 96 && charCode < 123) {
        charCode -= 32;
      }

      chars[i] = String.fromCharCode(charCode);
    }

    return chars.join('');
  }
function(string) {
    var chars = new Array(string.length);

    var charCode;
    for (var i = 0, len = chars.length; i < len; ++i) {
      charCode = string.charCodeAt(i);
      if (charCode > 96 && charCode < 123) {
        charCode -= 32;
      }

      chars[i] = String.fromCharCode(charCode);
    }

    return chars.join('');
  }
function ( string ) { var chars = new Array ( string . length ) ; var charCode ; for ( var i = 0 , len = chars . length ; i < len ; ++ i ) { charCode = string . charCodeAt ( i ) ; if ( charCode > 96 && charCode < 123 ) { charCode -= 32 ; } chars [ i ] = String . fromCharCode ( charCode ) ; } return chars . join ( '' ) ; }
Converts all of a string's characters to uppercase. This duplicates
`String.prototype.toUpperCase`.

@memberOf R.strings
@param {string} string The string to upcase.
@returns {string} The string w/ characters capitalized.

@examples
R.strings.toUpperCase('foo')   // => 'FOO'
R.strings.toUpperCase(' foo ') // =~ /FOO/
Converts all of a string s characters to uppercase . This duplicates String . prototype . toUpperCase .