Fix large array optimization in `baseDifference`.
Fix test typo in test/index.html.