In the case of radio buttons, the parameters of the option() method are applied interchangeably.
This error is occurring in the latest version of p5.js.
To see what the error occurs, refer to the url below.
https://p5js.org/en/reference/#/p5/createRadio
In the second example, the amount is displayed where the name of the food should appear.