Skip to content

115 - forEach and this - javascript #541

@tugcekarakuss

Description

@tugcekarakuss

let group = {
title: "Our Group",
students: ["John", "Pete", "Alice"],

showList() {
this.students.forEach((student)=> {
console.log(this.title + ": " + student);
});
},
};

export { group };

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions