r/AskComputerScience • • Apr 16 '19

What does this error mean and how to fix?

Post image
1 Upvotes

4 comments sorted by

3

u/Argonaut_Theseus Apr 16 '19

Second parameter that setText() function takes must be of uistring object not var.

To help you solve the issue it’d help if you gave more background. Like what language is it?

1

u/reevelre Apr 16 '19

Its javascript

3

u/izaveri01 Apr 16 '19

There is a comma after brown, try removing that

0

u/[deleted] Apr 16 '19

[deleted]

1

u/reevelre Apr 16 '19

How do I turn the array into a string?