HowProgrammingWorks/LiveQA

Review 1

Opened this issue · 0 comments

const deserialize = (src) => vm.createScript(`({' + str + '})`).runInThisContext();
  async createFile(fileName) {
    const vertices = [...this.vertices.entries()];
    const data = JSON.stringify(vertices);
    await fs.promises.appendFile(`${fileName}.txt`, data);
  },