her life amidst the dangers of the jungle had taught her to meet emergencies with self-confidence , and her higher intelligence resulted in a quickness of mental action far beyond the powers of the apes .