Back to discussionComment by mind-blight[-]mind-blight6 years ago1 reply#What are the edge cases for Object.keys()? I've always wondered why that returned string[]maple31426 years ago#Example: const x = { a: 1, b: 2, c: 3 } const y: { a: number, b: number } = x console.log(Object.keys(y))
mind-blight6 years ago1 reply#What are the edge cases for Object.keys()? I've always wondered why that returned string[]
maple31426 years ago#Example: const x = { a: 1, b: 2, c: 3 } const y: { a: number, b: number } = x console.log(Object.keys(y))