UNPKG
cmd-print-joey-smiley
Version:
latest (1.0.0)
1.0.0
Print a smiley + Joey Tribbiani's iconic catch phrase on the console.
cmd-print-joey-smiley
/
smiley.js
13 lines
(8 loc)
•
192 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env node
function
smiley
(
) {
const
count = +globalThis.
process
.
argv
[
2
] ||
1
;
for
(
let
i =
1
; i<=count; i++){
console
.
log
(
"😏 How you doin'? "
) } }
smiley
();