Adding salt on pineapples makes it sweeter. The salt reacts with the acids of the fruit, thus converting into a neutral compound and losing the sour taste. Because of this, the pineapple then becomes sweeter.