A JavaScript API for calculating boiling time for eggs
The JS-Class "Egg" has 4 properties:
- weight: Gewichtsklasse (s=50,m=58,l=68,xl=80)
- height: m üNN (default=300)
- tStart: temperature at start (default=7)
- tYolk: consistency of the yolk (sehr weich=62,wachsweich=72,eher hart=80)
var egg = new Egg();
egg.timePretty() // should return 06:38
egg.weight = 66;
egg.timePretty() // should return 07:14