triggerGarbageCollection method

Starts the JavaScript garbage collector.

Note  These APIs can only be used with F12 developer tools and the Diagnostics Script Engine, and can't be called from JavaScript.

 

 

Syntax

DiagnosticsMemoryProfiler.triggerGarbageCollection();

Parameters

This method has no parameters.

Return value

This method does not return a value.

See also

DiagnosticsMemoryProfiler