
Collatz Tag System - The Daily Programmer #317
video description
const collatz = (_, firstTwo, rest = ) =>
rest + - a: bc, b: a, c: aaa -[firstTwo[0]]
function tagSystem(tape) -
console.log(tape)
if (tape.length > 1)
tagSystem(tape.replace(/-(\w-2-)(\w-)/, collatz))
-
Date: 2022-03-14
Related videos
Add a review, comment















