Why does Sunday = 0 in JavaScript and not 6? [closed]

I grew up in Europe and have been used to the week starting on Monday, so this is kind of weird to me. Why does JavaScript make it start on Sunday? Is it because the creator was American? But even so, a big part of the world starts the week on Monday, and that’s when the work-week usually starts anyways, so wouldn’t it make more sense to make Monday = 0 and -1 to all the other days?