Added some things

This commit is contained in:
Cametendo
2026-04-20 11:20:54 +02:00
parent 97a7c9f0fb
commit 372b892862
29 changed files with 406 additions and 92 deletions

View File

@@ -0,0 +1,19 @@
function printName(student) {
console.log(`Student's name is: ${student.name}`);
}
const printMood = (student) => console.log(`Student's mood is $(student.mood)`);
// Multiline
export { printName };
export { printMood };
//Or one liner (Only one export works though):
// export { printName, printMood };
/*
export {
Student as default,
printName as displayName,
printMood as displayMood,
};
*/