Skip to content

Commit 9c49a42

Browse files
authored
enh(js/ts) add sessionStorage as built-in variable (#3668)
1 parent 82688fa commit 9c49a42

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

CHANGES.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## Version 11.8.0
2+
3+
Grammars:
4+
5+
- enh(javascript) add sessionStorage to list of built-in variables [Jeroen van Vianen][]
6+
7+
[Jeroen van Vianen]: https://github.com/morinel
8+
19
## Version 11.7.0
210

311
New Grammars:

src/languages/lib/ecmascript.js

+1
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export const BUILT_IN_VARIABLES = [
145145
"window",
146146
"document",
147147
"localStorage",
148+
"sessionStorage",
148149
"module",
149150
"global" // Node.js
150151
];

0 commit comments

Comments
 (0)