After some tweaking, finally settled on: function isReverse(c,d){var b=c.length,e=0;if(b==d.length)for(;0<=b&&c[--b]===d[e++];);return 0>b};
-
-
@mathias Yeah, but it's for arrays. ;-) I've got my own esrever for strings.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@mathias The two things I'd perhaps would change is move the e=0 assignment to the for-statement, and isReverse([NaN], [NaN]).Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.