You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I introduced this behaviour in 4.6.1 on purpose to avoid objects as the result of INS commands. This would result in '[object Object]' strings in your report, which are practically always a mistake.
I did not consider your use case well enough, though. I personally would always use [1,2,3].join(', ') instead... However, come to think of it it is pretty reasonable to expect this to just work.
Template:
+++INS ['a','b','c'] +++
Output in version 4.6.0:
a,b,c
Output in version 4.6.2:
Command failed! "['a', 'b', 'c']" Result of command '['a', 'b', 'c']' is an object
node v10.16.3, chrome v93
The text was updated successfully, but these errors were encountered: