3 ms·
what about the third option? neither. less is more when it comes to the web. it really is.
by ASneakyFox 12y ago
what about the third option? neither.
less is more when it comes to the web. it really is.
- phaedryx 12y agoNeither is faster? Each one is slower than the other? head explodes
- dragonwriter 12y ago> Neither is faster? Each one is slower than the other? For regular comparable x & y: not (x > y) and not (y > x) --> x = y So "neither is faster" means "they are equally fast", not "each one is slower than the other".
- Lockal 12y agoconst x = parseInt("CSS"); const y = parseInt("JS"); if ( (!(x > y) && !(y > x)) != (x == y) ) console.log('Sometimes "neither is faster" is not the same as "equally fast"');
- ASneakyFox 12y agoNo the third option is neither. Css vs js vs neither. Your web page is faster if you don't use animations. Most efficient way to add web page fluff is a non sequitur