1 verses of the Darby Bible have both "if" and "wast".
Job 38:4 Where wast thou when I founded the earth? Declare, if thou hast understanding.
In other translations: KJV ASV YLT Webster DRC Geneva