Skip to content

Comments

fix(javascript): allow using functions before they are defined#970

Merged
susnux merged 1 commit intomainfrom
fix/js-use-functions-before-defined
Apr 8, 2025
Merged

fix(javascript): allow using functions before they are defined#970
susnux merged 1 commit intomainfrom
fix/js-use-functions-before-defined

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Apr 8, 2025

function, similar as var, are special ECMAscript. They will be defined at any position in the script even if they are defined after usage.

`function`, similar as `var`, are special ECMAscript. They will be
defined at any position in the script even if they are defined after
usage.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux added bug Something isn't working 3. to review labels Apr 8, 2025
@susnux susnux requested review from ShGKme and skjnldsv April 8, 2025 15:14
@susnux susnux merged commit 0922bd5 into main Apr 8, 2025
10 checks passed
@susnux susnux deleted the fix/js-use-functions-before-defined branch April 8, 2025 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants