javascriptで最初の文字は大文字を変換する

例: path->Path , list->List

javascriptコード:
“arkgame.com is a technical site".replace(/(\w){1}/,function(v){return v.toUpperCase()});

Development

Posted by arkgame