我只增加了这两行,就可以让IE11兼容bootstrap了,好神奇,让我兴奋一下,再研究是什么原因。
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
https://stackoverflow.com/questions/15632568/script1010-expected-identifier-in-ie10