How in JavaScript draw a circle with radius 10 pixels in a html canvas?
To draw a circle of radius 10px in an HTML canvas using JavaScript, you can use the following code:
```js
const canvas = document.getElementById("myCanvas");
const ctx = canvas.getContext("2d");

ctx.beginPath();
ctx.arc(50, 50, 10, 0, 2 * Math.PI);
ctx.stroke();
```
This will create a new canvas element and set its context to be that of a 2D graphics context. You then call `beginPath` to start a new path, which is used to define the shape of the circle. You then call `arc` to specify the center point (50, 50), the radius (10), and the starting angle (0). Finally, you call `stroke` to actually draw the circle on the canvas.