17 lines
152 B
JavaScript
17 lines
152 B
JavaScript
// foo.js
|
|
|
|
var Foo = {};
|
|
|
|
Foo.hello = function(){
|
|
return "I am a foo";
|
|
}
|
|
|
|
// bar.js
|
|
|
|
var Bar = {};
|
|
|
|
Bar.hello = function(){
|
|
return "I am a bar";
|
|
}
|
|
|