News for hackers. Stuff that matters.
Re:Javascript Pointers by Andi on Monday May 09, 2011 @03:04PM (#2529796)
There are real references in JavaScript - when you pass objects. This case is completely ignored. I want to get the same pointer when it's the same object, even if the properties have changed. This is stubborn. I have solved this problem in a library - and you need to add the id to the object itself. Anyway, explicit pointers are pretty "pointless" in JavaScript and should only used for recursion detection.

There are no comments on this comment yet.