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.
22 lines
326 B
JavaScript
22 lines
326 B
JavaScript
15 years ago
|
result = "";
|
||
|
|
||
|
(function() {
|
||
|
CallMe = function(callback) {
|
||
|
callback();
|
||
|
};
|
||
|
|
||
|
var say_hello_twice = function() {
|
||
|
say_hello();
|
||
|
|
||
|
CallMe(function(){
|
||
|
say_hello();
|
||
|
});
|
||
|
};
|
||
|
|
||
|
var say_hello = function() {
|
||
|
result += 'hello world';
|
||
|
};
|
||
|
|
||
|
say_hello_twice();
|
||
|
})();
|