How many times have you done this as a front-end developer? ["Pizza", "Pasta", "Ice Cream"].join(", ") // "Pizza, Pasta, Ice Cream" Looks fine… until you realize something’s wrong: the final “and” is missing. So you patch it with slice, map, conditi...
dev.giuseppeciullo.it3 min read
No responses yet.