I thought that the behavior in this sense is the same, and hence the explanation could be the same too, taken from TypeScript