1 | Object.defineProperty(document, 'CSVLink', { |
||
2 | // value: document.createElement('a'), |
||
3 | createElement: (val) => { |
||
4 | return document.createElement(val) |
||
5 | } |
||
6 | }); |
||
7 | |||
8 | const constantDate = new Date('2018-03-23T04:41:20') |
||
0 ignored issues
–
show
Unused Code
introduced
by
![]() |
|||
9 | |||
10 | Date = class extends Date { |
||
0 ignored issues
–
show
|
|||
11 | constructor() { |
||
12 | super(); |
||
13 | return constantDate |
||
0 ignored issues
–
show
The variable
constantDate seems to be never declared. If this is a global, consider adding a /** global: constantDate */ comment.
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. ![]() |
|||
14 | } |
||
15 | } |
||
16 |