On Sat, 17 Feb 2018 16:07:46 -0600 (CST) warleyalex via Pas2js <pas2js at lists.freepascal.org> wrote: >[...] > pas2js emitt: ---------> $mod.SomeProc($mod.f,$mod.d); > I think the correct is: --> $mod.SomeProc($mod.f.slice(0),$mod.d); Please create a bug report. Mattias