Coder Social home page Coder Social logo

kleinfreund / reverse-iterable-map Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 916 KB

A reverse-iterable map implementation based on the built-in Map object.

Home Page: https://www.npmjs.com/package/reverse-iterable-map

License: MIT License

JavaScript 100.00%
iterable iterator map reverse-iterable

reverse-iterable-map's Introduction

Hey! Iā€™m Philipp and Iā€™m a front-end developer and open source contributor living in Hamburg, Germany.

Go to to my website!

reverse-iterable-map's People

Contributors

dependabot[bot] avatar kleinfreund avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

reverse-iterable-map's Issues

Intent to rename: reverse() to reverseIterator()

There is already Array.prototype.reverse(). In order to keep compatibility with the Array object, ReverseIterableArray implements the reverse iterable iterator in the method reverseIterator() instead of reverse().

If reverse iteration were part of the standard iteration protocols, the method would probably be called [Symbol.reverseIterator]() anyway; therefor, reverseIterator is the better name.

Eventually, I will rename ReverseIterableMap.prototype.reverse() to ReverseIterableMap.prototype.reverseIterator(). This change will also be reflected in the IteratorResult object returned by all iterable iterators.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.