Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. When does a cycle occur during memory leak?

  2. A.

     No reference occurs

    B.

     Two objects reference

    C.

     One object gets referenced

    D.

     One object gets referenced

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    A cycle happens when two objects reference each other in such a way that both objects retain each other.


Be The First To Comment