https://github.com/pivotal/jasmine/blob/master/src/core/matchers/matchersUtil.js#L22

toContain leverages indexOf when the inspected object looks string-like, which would require a shiv on IE.