Why does the code below create and infinitely deep object? I\'m assuming its something with const and scope. How can I prevent this?
const