Comment
Comment by kklisura
Sorry for asking, but I just have to: for how long have you been programming and specifically in nodejs/javascript? I'm asking because your query IS THE most basic programming task and, imho, nothing "to figure out". It should take 20 seconds to write that code.