4 ms·
Yeah but with JS you’re already miles away from that sort of instruction-level efficiency. For example, if it’s a object, you have to try and coerce it to a num
by jacobp100 2y ago
Yeah but with JS you’re already miles away from that sort of instruction-level efficiency. For example, if it’s a object, you have to try and coerce it to a number
- hyperhello 2y agoIf it’s an object and you want it to be a number, you’re going to have to chug through that in any programming environment. JS interpreters are capable of inferring that variables will be numbers throughout code. A lot of what people say against JavaScript they already said against Java, it’s recycled.