% node> function f1() { return 1 }undefined> function f2() { return 2 }undefined> var list = [f1, f2]undefined> list.indexOf(f2)1> list.indexOf(f1)0