An astronaut gets thirsty on the moon. So, he uses a special equipment to make water by combining hydrogen and oxygen. What can you say about this water made on the moon?
It will be the same.
According to the law of constant proportions, in any chemical compound, the elements are always present in a definite proportion by mass. So the mass ratio of the elements making up water will be the same, irrespective of the place.
2H2 + O2 →2H2O
Even on the moon, the mass ratio of hydrogen and oxygen in water will be 1:8. This becomes quite obvious when you know that the water molecule is H2O. If the ratio were to be different, it would be a different molecule and so would not be water anymore.