Shim vs. Sham: What is the difference?
Solution 1:
According to this Github page the shims include all monkey-patches that faithfully represent the ES5 features.
In other words: you can use the features provided by these files as if you were using ES5 proper.
The shams, however contain those features that can not be emulated with other code. They basically provide the API, so your code doesn't crash but they don't provide the actual functionality.
Which ones do you need? That depends on how you write your code. If you only use features provided by the shims, then include that. If you also want to (optionally) use features from the shams, then you need both of them.