In a large skillet, melt butter over medium-high heat. Add onion, and cook, stirring occasionally, for 6 minutes or until translucent. Add zucchini and squash, and cook, stirring occasionally, for 5 minutes or until tender. Stir in peas, salt, and pepper, and cook just until heated through.