Browser-compat-data: Array.prototype.includes and String.prototype.includes exists in IE 11

Created on 21 Aug 2018  路  8Comments  路  Source: mdn/browser-compat-data

Found IE 11.547.16299.0

Array.prototype.includes and
String.prototype.includes evaluates to 
function includes() { [native code] }
data

Most helpful comment

@aifrim @Elchi3 IMO this ticket can be safely closed at this point - publicly available versions of IE11 do not support Array.prototype.includes().

All 8 comments

It exists, but that doesn't necessarily mean it's properly supported.

caniuse says it's unsupported, and the Edge Status site also lists IE11 as unsupported.

That said, if you can demonstrate that it functions in IE11 that'd definitely be interesting 馃

Also, if you discover any incompatibilities, then you should document them in the notes section and set partial_implementation to true.

For the record, I have a (seemingly) up-to-date Win10 Pro and it has IE 11.1.17134.0 (maybe my group policy prevents updates?) which doesn't have any of those. So it seems dangerous to me to say that "IE 11" supports this.

edit: I also checked with BrowserStack and IE 11.540.15063.0 does not have them either

image

BTW Do you use regular version of Windows, or an insider build @aifrim ?

needinfo?(@erikadoyle, @libbymc)

Regardless of Windows version, IE11 uses the legacy (jscript9.dll) engine which doesn't receive feature updates. Just to confirm, I checked on the earliest public release of IE11 (Windows 8.1) and one of the most recent Windows 10 preview builds, and includes was undefined in both cases.

@jakub-g an Insider build apparently. Was researching something at work when I stumbled upon this, So, that jscript9.dll is due for a update, it seems.

image

Unavailable in IE 11.1000.18252.0.

@aifrim @Elchi3 IMO this ticket can be safely closed at this point - publicly available versions of IE11 do not support Array.prototype.includes().

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Elchi3 picture Elchi3  路  4Comments

ghost picture ghost  路  3Comments

caugner picture caugner  路  4Comments

MendyBerger picture MendyBerger  路  3Comments

jwhitlock picture jwhitlock  路  4Comments