• #dev 2022-04-06
  • Prev
    Next
  • #indieweb
  • #dev
  • #wordpress
  • #meta
  • #stream
  • #microformats
  • #known
  • #events
#dev ≡
  • ←
  • →
2022-04-06 UTC
# 19:10
Loqi
[Anthony Ciccarello] TIL you can emulate the as const type oberation in JS with a helper function. (source) /** * Identity function. Coerces string/number literals to value-as-type. * @template {string|number} T * @param {T} v * @return {T} */ function toConst(v) {...