You are here: Reference > JavaScript > client-side > browser > methods > collect (opera)

collect method (opera)

Browser support:
Tries to initiate the JavaScript garbage collection.


object.collect ( );
You can find the related objects in the Supported by objects section below.

Return value:

This method has no return value.

Example HTML code 1:

This example illustrates the use of the collect method:
    <script type="text/javascript">
        window.opera.collect ();
Did you find this example helpful? yes no

Supported by objects:

External links:

User Contributed Comments

Post Content

Post Content