sdras/array-explorer

indexOf: fromIndex

开放

#81 创建于 2018年12月11日

 (2 条评论) (0 个反应) (0 位负责人)JavaScript (236 个派生)github user discovery
good first issueopen to PR

仓库指标

星标
 (2,609 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

I feel like indexOf's optional second parameter: fromIndex, is an unsung hero.

It has saved me many times from having to slice an array before calling indexOf.

Would you consider a PR with an example using fromIndex?

贡献者指南