Solving day 2 of Advent of Code 2020 in JavaScript

preview_player
Показать описание
Advent of Code is a website that releases a new programming puzzle every day between the 1st and the 25th of December.

Have fun!

Рекомендации по теме
Комментарии
Автор

This was an awesome tutorial! This channel is extremely underrated. You earned a new subscriber!

GamingMatt
Автор

I have a question (very beginner one).
What is exactely doing the
counter[char] or the counter[groups.char] ?
Because counter have no values inside when initialized, it is just an empty object
counter = {}
So where comes from the counter[char] ?

alinesinclaire
Автор

Cannot destructure property 'groups' of '/^(?<from>\d+)-(?<to>\d+) (?<char>.): (?<password>.*)$/.exec(...)' as it is null. i've followed everything step by step but still

agonmisini