JavaScript uses three dots (...) for both the rest and spread operators. But these two operators are not the same.