Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does un-shimmable mean?

I read through the vuejs2 documentation and found this part:

This is an ES5-only and un-shimmable feature, which is why Vue doesn’t support IE8 and below.

I think it means that the feature is not possible to be monkey patched, but I'm not sure.

So what is a (un-)shimmable feature in JavaScript exactly all about?

like image 306
itsafire Avatar asked Aug 27 '17 06:08

itsafire


1 Answers

You got it right, a shim is a patch that provides otherwise unavailable functionality or a language feature.

Some features, however, require support from the underlying JS engine, and cannot be created purely in Javascript. I imagine that's what they meant.

like image 194
Kraylog Avatar answered Oct 15 '22 21:10

Kraylog