OCP: Open-Closed Principle, optimizing JavaScript code
Jun 7, 2021 · 2 min read · Hi all!In my previous post, I described how to put in place a multi language feature in a static website. But, in the toggle lang function, I was not convinced at all, so I decided to optimize the code. The code part that I was not convinced is to ...
FFrancesco commented

