join array enclosing each value with quotes

75

join array enclosing each value with quotes -

dates.map(date => `'${date}'`).join(',');

Comments

Submit
0 Comments