// `a` and `b` are arrays const isEqual = (a, b) => JSON.stringify(a.sort()) === JSON.stringify(b.sort());
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter