Run
Online Code Editor
It is an example of using the toArray() method.
Paragraph 1
Paragraph 2
Paragraph 3
Paragraph 4
Click the below button to display the above paragraphs in the form of array.
Click me