class Test { constructor() { this.rand = Math.random(); } get data() { return { name: "Ted", rand: this.rand }; } render({ name }) { return `

${name}${this.rand}

`; } } module.exports = Test;