mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-09 10:41:56 +00:00
6718e7ef65
* move bad browser check into standalone files * refactor dup var * remove console logs * have warning support all browser versions * Revert "have warning support all browser versions". Webpack conventions still cause IE8 to break. This reverts commit a8531038622d2419a3da342ddfe0c356a90e4eee. * correct typo
10 lines
266 B
JavaScript
10 lines
266 B
JavaScript
|
|
// use dates as vars so they're not stripped out by minification
|
|
let letCheck = new Date();
|
|
const constCheck = new Date();
|
|
const arrowCheck = (() => new Date())();
|
|
|
|
if (letCheck && constCheck && arrowCheck) {
|
|
window.localStorage.setItem('goodBrowser', 'true');
|
|
}
|