javascript split and trim

44

javascript split and trim -

var arr = str.split(",").map(item => item.trim());

Comments

Submit
0 Comments