In a 10" frying pan, heat the butter on medium-high just until it starts to brown.
Add the remaining ingredients and sauté for 4 to 5 minutes, stirring frequently. The sugars from the corn and onion will start to caramelize and develop a fantastic flavor.
Season with salt and pepper. Serve warm or at room temperature.
Notes
Easily scale the recipe up. Figure 1 ear of corn per person.
If good fresh corn isn't available, frozen sweet corn can be substituted. My favorite is the Super Sweet Frozen Cut White Corn from Trader Joe's.