summaryrefslogtreecommitdiff
path: root/2023/day3/test.ts
diff options
context:
space:
mode:
Diffstat (limited to '2023/day3/test.ts')
-rw-r--r--2023/day3/test.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/2023/day3/test.ts b/2023/day3/test.ts
new file mode 100644
index 0000000..3420b1d
--- /dev/null
+++ b/2023/day3/test.ts
@@ -0,0 +1,7 @@
+const nums = [657, 283, 728, 422, 446, 95, 963, 617, 201, 215, 435, 174, 232, 116, 730, 630, 755];
+let total = 1;
+
+for (const n of nums) {
+ total *= n;
+}
+console.log(total, Number.MAX_VALUE, Number.MAX_SAFE_INTEGER);