Skip to content

Commit 7c2eb2e

Browse files
committed
hashbang syntax is part of es2023
1 parent 80c6e6e commit 7c2eb2e

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

compat-table/src/index.ts

+3
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,9 @@ import('./kangax').then(kangax => {
392392
js.ArbitraryModuleNamespaceNames.ES = { 2022: { force: true } }
393393
js.RegexpMatchIndices.ES = { 2022: { force: true } }
394394

395+
// ES2023 features
396+
js.Hashbang.ES = { 2023: { force: true } }
397+
395398
// ES2024 features
396399
js.RegexpSetNotation.ES = { 2024: { force: true } }
397400

internal/compat/js_table.go

+1
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,7 @@ var jsTable = map[JSFeature]map[Engine][]versionRange{
572572
Chrome: {{start: v{74, 0, 0}}},
573573
Deno: {{start: v{1, 0, 0}}},
574574
Edge: {{start: v{79, 0, 0}}},
575+
ES: {{start: v{2023, 0, 0}}},
575576
Firefox: {{start: v{67, 0, 0}}},
576577
Hermes: {{start: v{0, 7, 0}}},
577578
IOS: {{start: v{13, 4, 0}}},

0 commit comments

Comments
 (0)