Rinse the beans thoroughly and prepare them.
Cut the onion and carrot into bite-sized pieces.
Heat cooking oil in a pan and stir-fry the beans.
Add the onion and carrot and stir-fry together.
Season with soy sauce and sugar to taste.
When all the ingredients are cooked, plate and serve.