brk brk - 3 years ago 241
Javascript Question

Why document.write not writing in array format?

I am trying to write a nested array using

but it is writing only
instead of
. What can be the reason for this?


wow wow
Answer Source

According to this article

A string containing the text to be written to the document.

It converts the response of write function into String

and String of [[4]] is 4


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download