This website works better with JavaScript.
Explore
Help
Sign In
michael
/
programming-examples
Watch
1
Star
0
Fork
You've already forked programming-examples
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1b608328ba
master
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from '1b608328ba'
${ noResults }
programming-examples
/
js
/
Conditional
/
Write a JavaScript program ...
10 lines
165 B
JavaScript
Raw
Blame
History
var
x
,
y
,
chr
;
for
(
x
=
1
;
x
<=
6
;
x
++
)
{
for
(
y
=
1
;
y
<
x
;
y
++
)
{
chr
=
chr
+
(
"*"
)
;
}
console
.
log
(
chr
)
;
chr
=
''
;
}
Reference in New Issue
View Git Blame
Copy Permalink