pastebin

Paste Search Dynamic
Recent pastes
first letter ippercase
  1. function first_letter_uppercase(){
  2.     var myStr = "the quick brown fox";
  3.  var str = myStr.split(" ");
  4.  for(var i = 0; i < str. length; i++){
  5.      console.log(str[i][0].toUpperCase());
  6. }
  7.  }
  8.  first_letter_uppercase();
Parsed in 0.002 seconds