[Pas2js] Fwd: Verbose Code

helioroots roots heliosroots at gmail.com
Thu Sep 5 13:29:35 CEST 2019


I have a JavaScript object
var circle = {
  radius : 10,
  area : function() {
    return Math.PI * this.radius * this.radius;
  }
};

what is the best way to perform this internal function?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/pas2js/attachments/20190905/b55af807/attachment.html>


More information about the Pas2js mailing list