couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MikaelSoderstrom <>
Subject [GitHub] couchdb pull request: Add polyfill for IE8 Array.indexOf
Date Wed, 19 Feb 2014 11:57:38 GMT
Github user MikaelSoderstrom commented on the pull request:
    > really, I don't think that performance is matters in place of locating user role
in the list that almost always has 1-2-3 elements, max 10 elements.
    Absolutely, but when you can use the standardized methods, I think you should. :) Another
solution would be to use [underscore](, but I still prefer Array.prototype.indexOf
in this case (and use the shim in older browsers).

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. To do so, please top-post your response.
If your project does not have this feature enabled and wishes so, or if the
feature is enabled but not working, please contact infrastructure at or file a JIRA ticket with INFRA.

View raw message