Message from JavaScript discussions

May 2017

— Do you use vim


That shunts the iterator protocol into a callback interface. Otherwise you can talk to the traversal algorithm directly via:
var traversal = iddfs(object);
var iteration =;
var flyweight = iteration.value;

— Do you write react as well?

— Do you write react?

— It should not

— Nah

— Why would it make a difference

— There is a nodeMap which lets it remember when it saw an object before and it will not traverse into it again

Message permanent page

— It lets it recreate any reference or cycle

— How does it remember visited nodes?

— The stack?

— Regular js map