typeof is not really portable