var에 항목 = {이름 : "PM2.5" };
item.nameFirst = item.name.replace (/ [^ A-ZA-Z] / g '' );
item.nameLast = /(\d+(\.\d+)?)/ .exec (item.name);
경우 (item.nameLast && item.nameLast.length> 0 ) {
item.nameLast = item.nameLast [0 ];
}
을 console.log (항목)