JS: Change note

This commit is contained in:
Asger F
2025-02-06 09:58:24 +01:00
parent 5613661a48
commit 6207e39b5f

View File

@@ -0,0 +1,6 @@
---
category: fix
---
* Fixed a rare issue that would occur when a function declaration inside a block statement was referenced before it was declared.
Such code is reliant on legacy web semantics, which is non-standard but nevertheless implemented by most engines.
CodeQL now takes legacy web semantics into account and resolves references to these functions correctly.