javascript split and trim

47

javascript split and trim -

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

Comments

Submit
0 Comments