order.emailAddress is undifined


#1

When i running the formHandler.addSubmitHandler(myTruck.createOrder.bind(myTruck)); And the console print “Adding order for undifined”, so i check the truck.js, it seems that the order is a correct project, while the order.emailAddress is undifined, just like the screenshot on below shows. Can anybody help to answer me this problem?


i come up with an idea that the order is a Array so we can not call order.emailAddress instead we should call order[1].emailAddress, am i right?