From 5d05ca511486dbdf3d128ede22d27d96b825f623 Mon Sep 17 00:00:00 2001 From: Anshika Jain <115166105+jain-anshika@users.noreply.github.com> Date: Sat, 27 Jan 2024 16:14:34 +0000 Subject: [PATCH] Copilot second commit --- member.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 member.js diff --git a/member.js b/member.js new file mode 100644 index 0000000..ba86e7b --- /dev/null +++ b/member.js @@ -0,0 +1,14 @@ +function skillsMember() { + var member = { + name: 'John Doe', + age: 30, + skills: ['js', 'html', 'css'], + salary: 1000 + }; + member.showSkills = function () { + member.skills.forEach(function (skill) { + console.log(skill); + }); + }; + return member; +}