Merge pull request #7 from nloomans/patch-1

Fixed syntax error in README.md
This commit is contained in:
AJ ONeal 2018-03-27 22:56:30 -06:00 committed by GitHub
commit 0c3ba0de9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -51,15 +51,15 @@ Tests
```javascript ```javascript
0 === localStorage.length; 0 === localStorage.length;
null === localStorage.getItem('doesn't exist'); null === localStorage.getItem('doesn\'t exist');
undefined === localStorage['doesn't exist']; undefined === localStorage['doesn\'t exist'];
localStorage.setItem('myItem'); localStorage.setItem('myItem');
"undefined" === localStorage.getItem('myItem'); 'undefined' === localStorage.getItem('myItem');
1 === localStorage.length; 1 === localStorage.length;
localStorage.setItem('myItem', 0); localStorage.setItem('myItem', 0);
"0" === localStorage.getItem('myItem'); '0' === localStorage.getItem('myItem');
localStorage.removeItem('myItem', 0); localStorage.removeItem('myItem', 0);
0 === localStorage.length; 0 === localStorage.length;