Conditions | 3 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import { getGlobalStorageProvider } from "./browserApi/storageProvider"; |
||
22 | function resetOptions() { |
||
23 | document.querySelectorAll(OPTION_SELECTOR).forEach(optionElement => { |
||
24 | let defaultValue = optionElement.dataset.defaultValue === 'true' ? true : false; |
||
25 | |||
26 | optionElement.checked = defaultValue; |
||
27 | }); |
||
28 | } |
||
29 | |||
48 | }); |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.