debugging cart.

have an error syntax error and can’t figure out where it is.
jshint says it a radix error?