Anthony Ciccarello
LinkedIn icon

Posts tagged "TIL"

Short for “Today I Learned”. Interesting facts, ideas, and tricks I’ve discovered.

  1. Today we saw what looked like a goldfish in the harbor. Apparently a “Catalina Goldfish” is officially called a Garibald and is California’s state fish.

  2. TIL that they make earplugs specifically for concerts. As someone with sensitive ears I need to look into these for the next time I go to a concert in person.

  3. TIL you can emulate the as const type suffix 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) { return v;}const five = toConst(5);// --> Type shows up as 5...

      TIL technology