Skip to content

Commit 2001d1d

Browse files
committed
create goodbye.js
1 parent 350f8ec commit 2001d1d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
(function (window){
2+
var byeSpeaker = {};
3+
var speakWord = "Good Bye";
4+
5+
byeSpeaker.speak = function (names) {
6+
console.log(speakWord + " " + names);
7+
}
8+
9+
window.byeSpeaker = byeSpeaker;
10+
})(window);

0 commit comments

Comments
 (0)