East Asia and the Mediterranean Sea.
They were different because they were based on one god
Other laws in other regions were based around the idea of multiple gods so there were laws for various gods, agricultural, judicial, and similar things. The ten commandments were based around a single god which usually meant that it applied to everyone equally since they weren't followers of a whole pantheon and their differences.
The Jim Crowe laws and other laws like them allowed segregation to continue, even though it was technically over.