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>