我正在为公司工作,网页在Chrome,Safari和Firefox上运行良好。但是,它不适用于IE 11.我还没有测试过其他版本的IE。 IE中不支持我在这个JS中使用的东西吗?我使用包括并将其更改为indexOf,它仍然没有做任何事情。我想知道它是否与let和过滤数组有关。我希望有人可以看看下面的代码。如果有兴趣,我将提供该页面的链接。感谢。
04-18 16:57:56.583 1382-1435/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 4321429 , only wrote 4168800
04-18 16:57:57.005 9136-9147/com.example.matt.rider I/art: Background sticky concurrent mark sweep GC freed 20288(877KB) AllocSpace objects, 3(96KB) LOS objects, 0% free, 14MB/14MB, paused 17.734ms total 501.934ms
04-18 16:57:57.289 9136-9147/com.example.matt.rider I/art: Background partial concurrent mark sweep GC freed 5087(243KB) AllocSpace objects, 13(2MB) LOS objects, 26% free, 11MB/15MB, paused 14.179ms total 261.011ms
04-18 16:57:58.703 2420-2432/com.google.android.googlequicksearchbox:search I/art: Background partial concurrent mark sweep GC freed 16895(1821KB) AllocSpace objects, 0(0B) LOS objects, 25% free, 11MB/15MB, paused 9.655ms total 103.726ms
04-18 16:57:59.663 1382-1434/? W/audio_hw_generic: Not supplying enough data to HAL, expected position 4169071 , only wrote 4168800
04-18 16:57:59.714 1382-1434/? W/audio_hw_generic: Hardware backing HAL too slow, could only write 0 of 720 frames
04-18 16:57:59.726 1382-1434/? W/audio_hw_generic: Hardware backing HAL too slow, could only write 0 of 720 frames
答案 0 :(得分:0)
使用babel工作。将语法转换为以下内容:
var chosen = canCode.filter(function (can) {
return can.code === usersInput;
});