Example 6

Example 6: Leaking DOM nodes

If the compiler can use hidden classes, your code will execute MUCH faster and will use MUCH LESS memory.

  1. Open Timeline tab.
  2. Start recording activty.
  3. Repeat the next steps and watch the Timeline
    1. Create some nodes
    2. GC