isNaN(input) vs Number.isNaN(Number(input)) (version: 0)
benchmark for using:
- implicit conversion of string to number -> isNaN(input)
vs
- strictness conversion of string to number and after it compare with NaN -> Number.isNaN(Number(input))
Comparing performance of: Implicit conversion test vs Strictness conversion test
Memory measurements supported only in Chrome.
For precise memory measurements Chrome must be launched with --enable-precise-memory-info flag.
More information: Monitoring JavaScript Memory