blob: ad58023a69f97034a848aebfcf4efc6e6b82f63b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
This is a test to make sure you can get and set values in localStorage by index.
Setting FOO using the index setter.
Reading FOO:
BAR
BAR
BAR
Setting FOO again, using setItem.
Reading FOO:
BAZ
BAZ
BAZ
Setting FOO again, using the index setter.
Reading FOO:
BAT
BAT
BAT
Setting FOO again, using property-slot syntax
Reading FOO:
BATMAN
BATMAN
BATMAN
Removing FOO, then trying to read it
Reading FOO:
undefined
undefined
null
|