I have checked many questions and answers regarding join array with comma separated string, But my problem is that, I am making the string readable for human i.e I have tags array that's if their is two tags, then it would be tag1 and tag2
and if their is 100 tags then it would be tag1, tag2, ,,,tag99 and tag100
for last one use the and
and before using the comma as a separator.
Any way to handle in JQuery?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…