Skip to content
Advertisement

Tag: weak-references

What is Liveness in JavaScript?

Trying to examine intricacies of JavaScript GC, I got deep into the weeds (that is, into the ECMAScript spec). It was found by me that an object should not be collected as long as it is deemed “live”. And liveness itself is defined as follows: At any point during evaluation, a set of objects S is considered live if either

Advertisement