Discussion Who Executed Existence.js? Had a really powerful experience in which I was recursively going through all moments that lead me to where I currently was.This is it written in code.```class Creation { constructor(createdBy) { this.createdBy = createdBy; this.id = createdBy + 1; } create() { console.log(`${this.id} doing every single thing that you could possibly imagine - creating ${this.id + 1}`) return new Creation(this.id) } }function startExistence(creation) { if (creation) { startExistence(creation.create()); } }startExistence(new Creation(0)); ``` 1 points mikodin 6 years ago 2 comments
This is it written in code.
```
class Creation { constructor(createdBy) { this.createdBy = createdBy; this.id = createdBy + 1; }
}function startExistence(creation) { if (creation) { startExistence(creation.create()); } }
startExistence(new Creation(0)); ```