parent
c676f31b83
commit
1baee8b066
@ -1,5 +1,5 @@
|
||||
// functions in variables
|
||||
var bob;
|
||||
var bob = {};
|
||||
bob.add = function(x,y) { return x+y; };
|
||||
|
||||
result = bob.add(3,6)==9;
|
||||
|
Loading…
Reference in new issue