Skip to content

Commit 4714173

Browse files
docs(2019-day-02): note JS runtime compatibility for ES2020 BigInt
1 parent c209224 commit 4714173

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
[![codecov](https://codecov.io/gh/amclin/advent-of-code/branch/master/graph/badge.svg)](https://codecov.io/gh/amclin/advent-of-code)
44

55
### Special Instructions
6+
Run by modifying `index.js` to point to the puzzle you want to execute.
67

7-
#### Day 14
8+
#### 2019:Day 02
9+
Day 2 requires the use of BigInt which is added to Javascript in ES2020 and I didn't include a polyfill.
10+
This limits the solution to [Javascript engines with BigInt support](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#Browser_compatibility)
11+
12+
#### 2018:Day 14
813
Day 14 is fast but needs more memory to complete. Run node with 4GB of heap space:
914
`node --max_old_space_size=4096 index.js`

0 commit comments

Comments
 (0)