4 ms·
If we are to be very picky I'd say if (/ip(od|hone)/i.test(navigator.userAgent)) is easier to figure out than if (/ip(hone|od)/i.test(navigator.userAgent))
by auganov 12y ago
If we are to be very picky I'd say
if (/ip(od|hone)/i.test(navigator.userAgent))
is easier to figure out than
if (/ip(hone|od)/i.test(navigator.userAgent))
for some reason.