Jephthah vowed a vow to Yahweh, and said, If you will indeed deliver the children of Ammon into my hand,
Compare Gideon’s similar response to the gift of God’s Spirit. The masculine gender of the Hebrew word translated "whatever" can apply to a person or an animal, but Jephthah was probably thinking of an animal.