<div dir="ltr"><div><span class="m_-5053379177718466592gmail-tlid-translation m_-5053379177718466592gmail-translation" lang="en"><span title="">I have a JavaScript object</span></span><span class="gmail-kwd"><br></span></div><div><span class="gmail-kwd">var</span><span class="gmail-pln"> circle </span><span class="gmail-pun">=</span><span class="gmail-pln"> </span><span class="gmail-pun">{</span><span class="gmail-pln"><br></span></div><div><span class="gmail-pln"> radius </span><span class="gmail-pun">:</span><span class="gmail-pln"> </span><span class="gmail-lit">10</span><span class="gmail-pun">,</span><span class="gmail-pln"><br></span></div><div><span class="gmail-pln"> area </span><span class="gmail-pun">:</span><span class="gmail-pln"> </span><span class="gmail-kwd">function</span><span class="gmail-pun">()</span><span class="gmail-pln"> </span><span class="gmail-pun">{</span><span class="gmail-pln"><br></span></div><div><span class="gmail-pln"> </span><span class="gmail-kwd">return</span><span class="gmail-pln"> </span><span class="gmail-typ">Math</span><span class="gmail-pun">.</span><span class="gmail-pln">PI </span><span class="gmail-pun">*</span><span class="gmail-pln"> </span><span class="gmail-kwd">this</span><span class="gmail-pun">.</span><span class="gmail-pln">radius </span><span class="gmail-pun">*</span><span class="gmail-pln"> </span><span class="gmail-kwd">this</span><span class="gmail-pun">.</span><span class="gmail-pln">radius</span><span class="gmail-pun">;</span><span class="gmail-pln"><br></span></div><div><span class="gmail-pln"> </span><span class="gmail-pun">}</span><span class="gmail-pun"><br></span></div><div><span class="gmail-pun">};</span></div><div><span class="gmail-pun"><br></span></div><div><span class="gmail-pun"></span><span class="m_-5053379177718466592gmail-tlid-translation m_-5053379177718466592gmail-translation" lang="en"><span title="" class="m_-5053379177718466592gmail-">what is the best way to perform this internal function?</span></span></div><div class="gmail_quote">
</div></div>