webmodules / babel-base

Base project for use with Babel.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Babel-runtime will not provide Array#includes

lijunle opened this issue Β· comments

From its docs:

NOTE: Instance methods such as "foobar".includes("foo") will not work.

I need to step back from Array#includes to Array#indexOf. 😞

Do you have solutions on this?