Fixed syntax error in README.md

This commit is contained in:
Noah Loomans 2016-03-03 16:51:10 +01:00
parent 5670628570
commit 0a95d2d63a
1 changed files with 4 additions and 4 deletions

View File

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