Add helper static method popValue to ArrayHelper