Skip to content

Commit

Permalink
Remove irrelevant and incorrect claims.
Browse files Browse the repository at this point in the history
* It doesn't matter whether JS is a wrapper around code in another language.
* JS doesn't always get to complete: users can kill it.
  • Loading branch information
jyasskin committed Dec 17, 2024
1 parent 088ec62 commit 4ea05e1
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1442,14 +1442,10 @@ propagate that change to JavaScript between tasks,
for example by [[html#queuing-tasks|queuing a task]],
or as part of [=update the rendering=].

A JavaScript Web API is generally a wrapper around
a feature implemented in a lower-level language,
such as C++ or Rust.
Unlike those languages,
when using JavaScript developers can expect
that once a piece of code begins executing,
it will continue executing until it has completed.

Unlike lower-level languages
such as C++ or Rust,
JavaScript has historically acted as if
only one piece of code can execute at once.
Because of that, JavaScript authors take for granted
that the data available to a function won’t change unexpectedly
while the function is running.
Expand Down

0 comments on commit 4ea05e1

Please sign in to comment.