2 ms·
the second object access example is fast because you don't set the innerHTML in it, you're only modifying the value of the `doc` variable i don't think the mic
by uwu 10y ago
the second object access example is fast because you don't set the innerHTML in it, you're only modifying the value of the `doc` variable
i don't think the micro-optimization is really needed with modern javascript engines anyway
- deleted 10y ago[deleted]