반응형
// const printSimply = function () {console.log('you can make function simply!');}
const printSimply = () => console.log('you can make function simply!');

// const add = function (a, b) {
//     console.log(a + b);
//     console.log("end");
// }

const add = (a, b) => {
    console.log(a + b);
    console.log("end");
}

printSimply();
add(5, 4);
반응형