Heron's theorem - Javascript | Heron-Verfahren - Javascript