A simple script to analyze (simple debug) memory leak in JavaScript objects or arrays
Note: This lib is an fork of JavaScript-memory-leak-checker created by @Doist
analysisMemoryLeak.check(window);
- Added
"use strict";
uniq_id
to string, so can compare with===
instead of==
- Tests for possible errors in (try/catch)
obj.xLeaksChecked
- An improvement based in @4facf33 by @spencercarnage
- Fixed "Exceptions" that stopped the script
- Added function
analysisMemoryLeak.showExceptions(bool);
for log exceptions in test