Discuss / JavaScript / 最后一个练习。

最后一个练习。

Topic source

Glimmer

#1 Created at ... [Delete] [Delete and Lock User]

function normalize(arr) { return arr.map(function (x){ var y=x.slice(0,1).toUpperCase(); var w=x.slice(1).toLowerCase(); return y+w; }) }


  • 1

Reply