O'Reilly logo
  • Nivan Morgan thinks this is interesting:

undefined

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

because now the s.len just represents a number not a string- but really its is just a new object the was stored in the memory with no memory link to the original string