Discuss / JavaScript / normalize

normalize

Topic source

thewangzl_f96

#1 Created at ... [Delete] [Delete and Lock User]
在此插入代码

function normalize(arr){ return arr.map(function(e){ return e.split('').reverse().reduce(function(x,y){ return y.toUpperCase()+ x.toLowerCase() ; }) }) }


  • 1

Reply