Message from JavaScript discussions

July 2017

— Crazy fun to be able to recreate cycles though


Check for the list of props in a sorted radix tree would be a good improvement, then if we just don't have that combo of props we know we haven't seen an object

— I could maybe use that string set I was working on before

— Oh yes, perfectly clones objects (almost)

— Why just almost?

— Descriptors aren't copied and only enumerables are copied

— You can look up getters / setters, prototypes, etc

— So you can clone a non configurable object and the result is fully configurable

— Just not implemented atm

— Well, non-enumerable is impossible, right?

— I think it's not, yes

— Its called annotation in PHP also.