From 755d2411c8a49d577d9412527124f34658a73704 Mon Sep 17 00:00:00 2001 From: Gari1309 <49695744+Gari1309@users.noreply.github.com> Date: Thu, 1 Oct 2020 01:18:49 +0530 Subject: [PATCH] Update peanut-butter-sandwich-maker.js adding comments --- ch2/item11/peanut-butter-sandwich-maker.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ch2/item11/peanut-butter-sandwich-maker.js b/ch2/item11/peanut-butter-sandwich-maker.js index 1660238..2bcf73e 100644 --- a/ch2/item11/peanut-butter-sandwich-maker.js +++ b/ch2/item11/peanut-butter-sandwich-maker.js @@ -1,4 +1,6 @@ +//making a peanut butter sandwich simply by using function function sandwichMaker() { + //creating a variable magicIngredient and take a requaired string var magicIngredient = "peanut butter"; function make(filling) { return magicIngredient + " and " + filling;