IE11 compatibility (const issue)
See original GitHub issueflexsearch has compatibility issue with IE11. currently it produces a Const must be initialized
error.
Most likely it’s because of the const in the for loop. (https://github.com/nextapps-de/flexsearch/blob/3ceb0e9f8a9887bab0f0b57c1a3e41c4fe4c02f3/dist/flexsearch.pre.js#L28)
any chance we get a IE11 compatible version?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Cross Browser Compatibility of const in Internet Explorer 11
Declares a constant in multiple files without having to specify it repeatedly. LT Browser - Next-gen browser to build, test & debug responsive...
Read more >const | Can I use... Support tables for HTML5, CSS3, etc
1 const is recognized, but treated like var (no block scope, can be overwritten) · 2 const does not have block scope ·...
Read more >So i'm using Javascript const keyword, what happens in IE?
IE11 and above supports const but IE10 and below do not. If you attempt to use const in any browser that does not...
Read more >const, let and spread (not IE11 compatible) · Issue #6
People who need older browsers compatibility are hopefully using some build process where babel can be already introduced. Given that we are ...
Read more >Fix site display issues with Compatibility View in Internet ...
Learn how to fix website display problems using Compatibility View in Internet Explorer. ... Support for Internet Explorer 11 has ended on June...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
do things like this
import FlexSearch from 'flexsearch/dist/flexsearch.es5.js'
ok just found that there is already a es5 version in the dist folder. though it’s a bit unfortunate that we need to specify this directly. but you can close this if the intention is to use a modern version of the bundle by default.