Javascript Objects - Mehod

In the last page we looked at how define the template of a circle and create instances of it. Now we will define a method on the object circle. The method will calculate the area of the circle. Let us take a look at the example read more at here

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
3 + 14 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.