Mix melted butter, egg yolk, sugar, and salt into a mug. Mix with a spoon.
Add the sifted flour, beat with a spoon until smooth, so that there are no lumps.
Add chocolate chips, stir and put it in a microwave. Cook for 1 minute. Let the cookie cool in a mug for a few minutes and serve.