Role of 'prototype' property amidst design of `function` type object?
问题 As per the understanding, The main purpose for the existence of prototype property in a function type object is to allow properties/methods sitting under prototype to get inherited by other objects. This enables prototypical inheritance. Considering window['Number'] function type object, In general, Idea is to understand the thought process on what comes under prototype . So. I would like to take a specific example i.e., Number , with below questions. From design perspective, how would I