FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
basic-programs/javascript/fizz-buzz.js at patch-1 · commitRahul/basic-programs · GitHub
commitRahul
/
basic-programs
Public
forked from
starVader/basic-programs
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
basic-programs
/
javascript
/
fizz-buzz.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (11 loc) · 271 Bytes
Breadcrumbs
basic-programs
/
javascript
/
fizz-buzz.js
Copy path
File metadata and controls
11 lines (11 loc) · 271 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
for
(
let
i
=
1
;
i
<=
100
;
i
++
)
{
if
(
i
%
3
===
0
&&
i
%
5
!==
0
)
{
console
.
log
(
'Fizz'
)
;
}
else
if
(
i
%
3
!==
0
&&
i
%
5
===
0
)
{
console
.
log
(
'Buzz'
)
;
}
else
if
(
i
%
3
===
0
&&
i
%
5
===
0
)
{
console
.
log
(
'FizzBuzz'
)
;
}
else
{
console
.
log
(
i
)
;
}
}
Back
|
FazBrowse Home
|
New Git URL