多项选择题

A.foo({})//undefined,5
B.foo({x:1})//1,5
C.foo()//undefined,5
D.foo({x:1,y:2})//1,2