Message from JavaScript discussions

May 2019

— Probably node.js docs


Am looking for a short tutorial because what I want is something simple there's no need of authentication

— Express docs?

— Let me check

— 👏👏

— How can I create a syntax that separates classes like in the classList method? For example: "class1", "class2"

Message permanent page

— Like .split(' ') ?

— I have already used the .split method to separate classes but I need to split them as when adding more classes in the classList method

Message permanent page

— The function requires that all the classes to be added are grouped in a string and at the beginning of the function, check if the browser supports classList. In that case I need to separate the classes into a different string for each of them

Message permanent page

— Wat

— Why are they joined like that?

— Just loop