Last active
April 17, 2018 14:55
-
-
Save codermarcos/bf9aa27256532c5c9c8c58493a18ff70 to your computer and use it in GitHub Desktop.
Coleta gb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function teste() { | |
var a = {}; | |
var b = {}; | |
a.b = b; // Cria a referencia em a para o B | |
b.a = a; // Cria a referencia em b para o A | |
return 'qualquer coisa'; | |
} | |
for (let i = 0; i > 1000; i++) { | |
teste(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment