Passed
Push — master ( 71e621...86c812 )
by Oluwatobi
43s
created

helper/helper.js (1 issue)

Labels
Severity
1
const props = {
2
3
    checkStorage: function(key){
4
            if (localStorage.getItem(key) === null) {
0 ignored issues
show
The variable localStorage seems to be never declared. If this is a global, consider adding a /** global: localStorage */ 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.

Loading history...
5
                return false; 
6
            }else{
7
                return true;
8
            }
9
       }
10
}
11
12
export default props;