Open jsartisan opened 2 months ago
index.js
let group = { title: "Our Group", students: ["John", "Pete", "Alice"], showList() { const that = this; this.students.forEach(function(student) { console.log(that.title + ': ' + student); }); } }; export { group };
index.js