Does deleting a property before replacing it change garbage collecting priority?

If you are replacing a property on an object that is a reference to a giant object, does it ever make sense to delete that property before replacing it?

const a = {
  child: b //Reference to big object
}
delete a.child;
a.child = c; //Another big object

vs

const a = {
  child: b //Reference to big object
}
a.child = c; //Another big object

47 thoughts on “Does deleting a property before replacing it change garbage collecting priority?”

  1. You can certainly see your skills in the article you write.

    The arena hopes for even more passionate writers
    such as you who are not afraid to say how they believe. Always go after your heart.

    Reply
  2. I enjoy what you guys tend to be up too. This sort of clever work and reporting!
    Keep up the great works guys I’ve you guys to my personal blogroll.

    Reply
  3. You’re so cool! I don’t believe I have read something like this
    before. So great to discover someone with unique thoughts on this topic.

    Really.. thanks for starting this up. This website is something that is required on the web,
    someone with some originality!

    Reply
  4. Right here is the right webpage for everyone who wishes to understand this topic.
    You realize a whole lot its almost tough to argue with you (not that I actually
    will need to…HaHa). You certainly put a new spin on a topic which has been discussed for a long time.
    Wonderful stuff, just excellent!

    Reply
  5. Hey just wanted to give you a quick heads up and let you know a few of the pictures aren’t loading correctly.
    I’m not sure why but I think its a linking issue. I’ve tried it in two different internet browsers and both show the same results.

    Reply
  6. Thank you for the auspicious writeup. It in fact used to be a leisure account it.

    Look advanced to more introduced agreeable from you! By the way, how could we
    be in contact?

    Reply
  7. Hey! Would you mind if I share your blog with my facebook group?
    There’s a lot of people that I think would really appreciate
    your content. Please let me know. Many thanks

    Reply
  8. When I originally left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and from
    now on each time a comment is added I get 4
    emails with the same comment. There has to be an easy
    method you can remove me from that service?
    Thank you!

    Reply
  9. It’s perfect time to make some plans for the longer term and
    it’s time to be happy. I have learn this submit and
    if I could I wish to suggest you few interesting
    issues or tips. Perhaps you can write next articles referring
    to this article. I desire to learn more things approximately it!

    Reply
  10. Hi, i read your blog occasionally and i own a similar one and i was just wondering if you get a lot of spam remarks?
    If so how do you prevent it, any plugin or anything you can suggest?
    I get so much lately it’s driving me mad so any support is very much appreciated.

    Reply
  11. Hey there! Someone in my Myspace group shared this
    site with us so I came to take a look. I’m definitely enjoying the information. I’m
    book-marking and will be tweeting this to my followers!
    Fantastic blog and outstanding design and style.

    Reply
  12. Heⅼрful infоrmation. Lucky me I found yopur site unintentionally, and I am suгⲣrised why this coincidence did not took place earlier!

    I bookmаrked it.

    My web page – bitch

    Reply
  13. Веб-площадка Joy casino начала деятельность на российском рынке в две тысячи четырнадцатом году.
    Гостям портала предлагается лучший программный продукт от популярных компаний.
    В ассортимент виртуальных развлечений
    входят автоматы барабанного типа,
    лайв-игры и ставки на спортивные события.

    Reply