mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
Meta: Add for-loop JavaScript test program
This commit is contained in:
parent
097e1af4e8
commit
023d121e05
Notes:
sideshowbarker
2024-07-19 08:44:48 +09:00
Author: https://github.com/deoxxa
Commit: 023d121e05
Pull-request: https://github.com/SerenityOS/serenity/pull/1425
Reviewed-by: https://github.com/sunverwerth
1 changed files with 5 additions and 0 deletions
5
Base/home/anon/js/for-loop.js
Normal file
5
Base/home/anon/js/for-loop.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
var x = 0;
|
||||||
|
for (var i = 0; i !== 3; i += 1) {
|
||||||
|
x += 2;
|
||||||
|
}
|
||||||
|
x;
|
Loading…
Add table
Add a link
Reference in a new issue