UNPKG
emotify
Version:
latest (1.0.0)
1.0.0
This simple app will take one string argument and return it with a smiley :) attached at the end
emotify
/
emotify.js
9 lines
(5 loc)
•
117 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
var
string
= process.argv[
2
]
function
emotify
(
string
)
{
return
string
+
" :)"
; } console.
log
(
emotify
(
string
));