📜  巧克力 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:21.330000             🧑  作者: Mango

代码示例6
function eat (foodType){
    hungry = false;
    Document.write("you have eaten " + foodType);
};
let hungry = true;

eat ("Chocolate") \\you have eaten Chocolate