[Pas2js] Verbose Code

helioroots roots heliosroots at gmail.com
Thu Sep 5 13:32:02 CEST 2019


Hello, disregard the previous msg....

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/538b8d34/attachment.html>


More information about the Pas2js mailing list