object, ik how to do it for keys/properties, but I want to know if it's possible to do for the object itself.
                  
                  
                  
                  
                  
                  I'm working on a lazy language that compiles to JS, rn we check if an object is lazy and evaluate before passing to an eager function, this is causing a lot of problems, I'm trying to make some lazy object class that evaluates on access.
                  
                  
                  
                  
                  
                  Is having a value property and using get/set on the value key the only way to go?
                  
                  
                
You want to replace an object without breaking reference?
Обсуждают сегодня