Final answer:
The dash in the sentence sets off further detail or explanation and adds humor and informality.
Step-by-step explanation:
The dash in the sentence is used to set off further detail or explanation. In the given sentence, the dash is used to introduce a spontaneous thought or interruption, indicated by the interjection 'whoa, look at that squirrel.' This adds a moment of humor and informality to the sentence.
Learn more about The use of dash in a sentence