3 ms·
Or you can just do this: foo.step1 = function(){ do_some_thing(foo.step2) } foo.step2 = function(arg){ do_another_thing( ... ) } foo.step1() # enjo
by jrockway 15y ago
Or you can just do this:
foo.step1 = function(){ do_some_thing(foo.step2) }
foo.step2 = function(arg){ do_another_thing( ... ) }
foo.step1()
# enjoy