Congratulations, you made it to the end of the course! The payments team’s Friday release notes now come from JavaScript. Once you finished the “Other commits” section in the last exercise, release-notes.js printed the same eleven lines as release_notes.py for week 45, from Release payments-2026.11.06 down to mentions PAY-2304. It printed the same section for last week’s log too.
The lead can post the port’s notes in the team chat as before, and the reverted PAY-2288 still shows up under “Other commits:” with its mention, instead of being announced as a change that shipped.
In this course, you learned how to:
- Line up columns with
.padStart()and.padEnd(), and zero-pad a number by turning it into a string withString()first - Write a regex literal, such as
/^(PAY-\d+): (.+)/i, and say where a match must start and end with^and$ - Build a pattern from a letters-only setting such as
TEAMwithnew RegExp()andString.raw, with its flags as letters, like"i" - Read a match with
.match()withoutg, as an array indexed like Python’s groups, or asnullwhen nothing matches - Name groups with
(?<name>...), read them from.groups, and loop over every commit in the log with.matchAll()and thegandmflags - Rewrite text with
.replace(), usinggto replace every match and$<name>to rearrange named groups