https://github.com/Artoria2e5/PRCoords/blob/master/js/PRCoords.js#L124
It should be (Math.PI / 180) * (GCJ_A * (1 - GCJ_EE)) / Math.pow(magic, 1.5), instead of (Math.PI / 180) * (GCJ_A * (1 - GCJ_EE)) * Math.pow(magic, 1.5).
The bug is in all languages except lua.
BTW, lon_deg_arclen (arclon) in Racket is also wrong.
https://github.com/Artoria2e5/PRCoords/blob/master/js/PRCoords.js#L124 It should be
(Math.PI / 180) * (GCJ_A * (1 - GCJ_EE)) / Math.pow(magic, 1.5)
, instead of(Math.PI / 180) * (GCJ_A * (1 - GCJ_EE)) * Math.pow(magic, 1.5)
. The bug is in all languages except lua. BTW, lon_deg_arclen (arclon) in Racket is also wrong.