Object.freeze() seems like a transitional convenience method to move towards using const in ES6. Are there cases where both take their place in the code or is there a...
  • June 3, 2022
  • 0 Comments
I’m trying to create a module that exports multiple ES6 classes. Let’s say I have the following directory structure: my/ └── module/ ├── Foo.js ├── Bar.js └── index.js Foo.js...
  • May 31, 2022
  • 0 Comments