INNER CODE UNIT · JavaScript

$sel

DinoChiesa/jwt-webtool · src/js/app.js:73

const $sel = (query) => document.querySelector(query),
  $all = (query) => document.querySelectorAll(query),
  hide = (el) => {
    el.classList.add("hidden");
    el.classList.remove("show");
  },
  show = (el) => {
    el.classList.remove("hidden");
    el.classList.add("show");
  };

function algPermutations(prefixes) {
  return prefixes.reduce(
    (a, v) => [...a, ...[256, 384, 512].map((x) => v + x)],
    [],
  );
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…