Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
21
Task/Loops-While/Jsish/loops-while.jsish
Normal file
21
Task/Loops-While/Jsish/loops-while.jsish
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env jsish
|
||||
/* Loops/While in Jsish */
|
||||
var i = 1024;
|
||||
|
||||
while (i > 0) { puts(i); i = i / 2 | 0; }
|
||||
|
||||
/*
|
||||
=!EXPECTSTART!=
|
||||
1024
|
||||
512
|
||||
256
|
||||
128
|
||||
64
|
||||
32
|
||||
16
|
||||
8
|
||||
4
|
||||
2
|
||||
1
|
||||
=!EXPECTEND!=
|
||||
*/
|
||||
Loading…
Add table
Add a link
Reference in a new issue