Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Console leak repro
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>Console leak repro</title>
<h1>Console leak repro</h1>
<button type="button" onclick="causeFakeLeak()">Cause a "leak"</button>
class LeakedObject {}
function causeFakeLeak() {
console.log(new LeakedObject())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment