Skip to content

Commit a42622c

Browse files
committed
create history variable
1 parent 376c3eb commit a42622c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const operators = document.querySelectorAll("[data-operator]");
44
const operatorRegex = /[\/*\-+]/;
55
const ZERO = 0;
66
const ZERO_DOT = '0.';
7+
const history = [];
78

89
let data = [];
910

0 commit comments

Comments
 (0)