mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
11 lines
179 B
JavaScript
11 lines
179 B
JavaScript
// foo is a cool function
|
|
function foo() {}
|
|
|
|
/* bar is a cool var */
|
|
var bar = 3;
|
|
|
|
A.prototype.foo = function() {
|
|
this.noise || '<chirp>';
|
|
return 'Hello from ' + this.name;
|
|
}
|