Since the method name is not given in Data.js, you name it with the name of the imported variable
const Data = require("./bin/data") var app = new Data([12,13,"Hello, world"],{ });
Last updated 3 years ago