javascript-tutorial / javascript-tutorial/en.javascript.info

Document error at structure

Open
#3,713 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

https://javascript.info/structure at this page it says that;
alert("Hello")

[1, 2].forEach(alert);
if you remove semicolon at the first line of code that causes error but I got no error It worked without problem

Contributor guide

No contributing guide indexed for this repository

Research direction

Open the structure page at javascript.info/structure and reproduce the two JavaScript examples, comparing behavior with and without the first semicolon. Confirm whether the wording or example is inaccurate, then update the relevant tutorial text so it matches the observed behavior and verify the rendered page.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.