Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@ Things to reflect on:

*/

let a = "Alice";
let b = 5;
let c = 20;
let a = "Alice"; // The variable are vauge and not well defined
let b = 5; // This could use better naming all together
let c = 20; // This one could have started with $ to give context
let d = a + " bought " + b + " items for $" + c + ".";

console.log(d);

let name = "Alice";
let _numberofItems = 5;
let $amount = 20;
let purchase = name + "bought" + 'items for $' + $amount + '.';