Hacker News new | ask | show | jobs
by qwertyz 5083 days ago
newString is initialized inside the loop, so it will get destroyed when you exit the loop.