Skip to content

Latest commit

 

History

History
120 lines (93 loc) · 5.72 KB

README.md

File metadata and controls

120 lines (93 loc) · 5.72 KB

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
  22. Array: .map() vs .filter() vs .reduce()
  23. Generator function* and yield usage
  24. Usage of switch (true), an example with numeric ranges
  25. Symbols: property keys without name collisions
  26. The void operator
  27. Using new Set() to get rid of duplicate values in array
  28. Object destructuring on Array

🌈 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. If you're writing a new snippet, do not forget to update the Minutes listing section accordingly
  5. Push to the Branch (git push origin feature/AmazingFeature)
  6. 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