- function source code를 string 형태로 반환
function sayHello(text) {
var name = text;
// print name
console.log(`Hello ${name}`);
}
console.log(sayHello.toString());
// function sayHello(text) {
// var name = text;
// // print name
// console.log(`Hello ${name}`);
// }