2015-10-14 15:47:22 -04:00
|
|
|
```
|
2015-08-03 20:45:58 -04:00
|
|
|
/**
|
|
|
|
* @description This function logs a string.
|
|
|
|
*/
|
|
|
|
function log() {
|
|
|
|
console.log('Logging.');
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @description My application
|
|
|
|
*/
|
|
|
|
var myApp = {
|
|
|
|
/**
|
|
|
|
* @description Display a greeting
|
|
|
|
* @param {string} name The name of the person to greet
|
|
|
|
*/
|
|
|
|
greet: function(name) {
|
|
|
|
console.log('hello ' + name);
|
|
|
|
}
|
2015-10-14 15:47:22 -04:00
|
|
|
};
|
|
|
|
```
|