Deleting Construction Steps after Specified Steps (Javascript)

1st version by Tang Dashi[br][br]Forum help thread[br][url=https://help.geogebra.org/topic/scripting-for-deleting-steps-in-construction-protocol]https://help.geogebra.org/topic/scripting-for-deleting-steps-in-construction-protocol[/url][br][br]
2nd version by rami & michael borcherds

Information: Deleting Construction Steps after Specified Steps (Javascript)