Skip to content
Advertisement

result1 sends what’s in it weird (picture below)

JavaScript

Everything works fine, but now when the amount is sent it looks like this: enter image description here

when I try the {result1[1]}(where the money is at) the command doesn’t even work. What am I missing?

Advertisement

Answer

The tuple is of length 1, so you should be using {result1[0]} rather than {result1[1]}.

Advertisement