2019-01-24 snake_case を PascalCase に変換するjavascript program "abc_def".replace(/^[a-z]/g, ($0) => $0.toUpperCase()).replace(/_([a-z])/g, ($0,$1) => $1.toUpperCase()) // AbcDef