Searched refs:toWin (Results 1 – 1 of 1) sorted by relevance
17 const toWin = new Map(raw.map((char, i) => [char, win[i]])) constant21 encode: s => raw.reduce((s, c) => s.split(c).join(toWin.get(c)), s),