You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The type of f should be () => number. If typeof value (from the code example) is replaced with number, then the code behaves as expected. The code also behaves as expected when first is not an object.