Right hand side of 'instanceof' is not an object


#1

i was making a command to create a random stage in sm64 and got right hand side of instanceof is not an object

can someone help

!commands add !Stage :8ball: $(eval const responses = [‘BOB’, 'WF, ‘CCM’, ‘JRB’, ‘DDD’, ‘BITDW’, ‘BITFS’, ‘BITS’, ‘SSL’, ‘LLL’, ‘HMC’, ‘Vanish’, ‘Wing’, ‘Metal’, ‘BBH’, ‘SL’, ‘TTM’, ‘THI’, ‘PSS’, ‘RR’, ‘TTC’, ‘Upstairs Wing Cap’, ‘WDW’ ]; responses[Math.floor(Math.random() * responses.length)]:wink:


#2

@B6twitch

!addcom -cd=5 !stage :8ball: $(eval a=[`BOB`,`WF`,`CCM`,`JRB`,`DDD`,`BITDW`,`BITFS`,`BITS`,`SSL`,`LLL`,`HMC`,`Vanish`,`Wing`,`Metal`,`BBH`,`SL`,`TTM`,`THI`,`PSS`,`RR`,`TTC`,`Upstairs Wing Cap`,`WDW`];a[Math.floor(Math.random()*a.length)])


#3

your second value is the issue, didn’t “close” it with the ’