Preheat oven to 375 degrees.
Combine flour, baking soda, and salt.
Cream butter and sugars until light and fluffy, beat egg and vanilla. Gradually blend in flour mixture. Stir in M&Ms.
Drop by teaspoonfuls 2" apart onto ungreased cookie sheet. Bake 8-11 minutes.