/minutes-of-javascript

⭐ Collection of Javascript snippets to make you discover new exciting features, useful tips or anything that will give you a better understanding of the subtleties of JS.

Primary LanguageJavaScriptMIT LicenseMIT

MIT License Stargazers Forks Issues


Logo

{ Minutes of Javascript }

Report Bug · Request Feature

Table of Contents

  1. About The Project
  2. Minutes listing
  3. Contributing
  4. License
  5. Contact
  6. Acknowledgements

👋 About The Project

Javascript pieces of code to make you discover new exciting features, useful tips or anything that will give you a better understanding of the subtleties of JS. This repository serves as a central location for all theses snippets.

⭐ Minutes listing

  1. Switch statement vs Object Search
  2. .map() & .reduce()
  3. Methods for merging (aka concatenating) arrays
  4. Using Map() vs Object literals
  5. Weakmap()
  6. Sets in ES6
  7. Promises
  8. Promises Part 2.
  9. Promise.all vs Promise.allSettled
  10. Promise.race
  11. Proxies Part 1. introduction
  12. Proxies Part 2. (with Reflect)
  13. Proxies Part 3. makeReadOnly example
  14. flat() and flatMap()
  15. Fun with Emoji!
  16. Some bizarre things in Javascript
  17. Breaking in nested loops
  18. EventEmitter
  19. How to implement a local EventEmitter? (part 1.)
  20. How to implement a local EventEmitter? (part 2.)
  21. Using "_" in numbers for better readability

🌈 Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

💾 License

Distributed under the MIT License. See LICENSE for more information.

✉️ Contact

Twitter Linkedin

🙏 Acknowledgements

  • Carbon - Create and share beautiful images of your source code