News for hackers. Stuff that matters.
Re:Show HN: A SQL database implemented purely in TypeScript ... by mind-blight on Monday September 28, 2020 @10:37AM (#24617060)
What are the edge cases for Object.keys()? I've always wondered why that returned string[]
Re:Show HN: A SQL database implemented purely in TypeScript ... by maple3142 on Monday September 28, 2020 @12:12PM (#24618221)
Example:

  const x = { a: 1, b: 2, c: 3 }
  const y: { a: number, b: number } = x
  console.log(Object.keys(y))