It is supported. The error in the B4J logs points to output: Dim output
(itemsTot) As String which was not supported. 1.27+ will ignore the itemsTot to keep as close to native B4J as possible in the declaration while transpiling because JavaScript doesn't need this. If you want to prefill it with something you will have to use a for loop after the declaration.
Something like:
Dim output(itemsTot) as String ' <--- transpiler will ignore the itemsTot so transpiling it to _output=[]
' if you want to prefill it use something like this:
for i = 0 to initemsTot - 1
output(i) = ""
next
Works also (although would not if the code ever passed through this in B4J):
Dim output() as String ' <--- transpiler also _output=[]
' if you want to prefill it use something like this:
for i = 0 to initemsTot - 1 ' B4J would give an error
output(i) = ""
next
but as said, prefilling (dimming it to a certain size) is not needed for javascript. And the the B4J list is a lot more powerful anyway.