Example to ilustrate this question at gis.stackoverflow.
We choose to replace Turf with JSTS.
If the result is more complex (i.e. the resulting intersection is a polyline), the algorithm should be repeated for each part in the polygon.