[JS] – How do you make an object immutable?

For do this you can use the “freeze” method that has in the javascript Objects. This method not only allow the … More

[JS] How to implement a switch ?

  switch (conditional) { case “A”: console.log(“conditional == A”); break; case “B”: console.log(“conditional == B”); case “C”: console.log(“conditional == C”); … More