Implement the instanceof operator from scratch by walking the prototype chain to check if an object is an instance of a constructor.
Asked in frontend interviews at Google, Amazon, TikTok and 2 more