<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Desafio da semana &#8211; 1</title>
	<atom:link href="http://www.milfont.org/blog/archives/123/feed" rel="self" type="application/rss+xml" />
	<link>http://www.milfont.org/blog/archives/123</link>
	<description>Ultrapassando os limites da web!</description>
	<lastBuildDate>Fri, 10 Feb 2012 06:40:47 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: CMilfont &#187; Resposta 1º desafio</title>
		<link>http://www.milfont.org/blog/archives/123/comment-page-1#comment-7185</link>
		<dc:creator>CMilfont &#187; Resposta 1º desafio</dc:creator>
		<pubDate>Mon, 21 May 2007 17:31:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.milfont.org/blog/archives/123#comment-7185</guid>
		<description>[...] Semana passada postei um desafio em javascript para testar o conhecimento te&#243;rico dos meus amigos, somente o Coutinho respondeu: [...]</description>
		<content:encoded><![CDATA[<p>[...] Semana passada postei um desafio em javascript para testar o conhecimento te&oacute;rico dos meus amigos, somente o Coutinho respondeu: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Coutinho</title>
		<link>http://www.milfont.org/blog/archives/123/comment-page-1#comment-6691</link>
		<dc:creator>Coutinho</dc:creator>
		<pubDate>Tue, 15 May 2007 16:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.milfont.org/blog/archives/123#comment-6691</guid>
		<description>Ta errado sim, teste é um objeto, e esse return é o que?

O correto seria isso:

var teste = {  
    teste:function(){  
        alert(&#039;teste&#039;);  
    }  
};  
teste.teste();  

ou mais bonitinho:


var teste = {  
    nome: &#039;Coutinho&#039;,
    teste:function(){  
        alert(this.nome);  
    }  
};  
teste.teste();</description>
		<content:encoded><![CDATA[<p>Ta errado sim, teste é um objeto, e esse return é o que?</p>
<p>O correto seria isso:</p>
<p>var teste = {<br />
    teste:function(){<br />
        alert(&#8216;teste&#8217;);<br />
    }<br />
};<br />
teste.teste();  </p>
<p>ou mais bonitinho:</p>
<p>var teste = {<br />
    nome: &#8216;Coutinho&#8217;,<br />
    teste:function(){<br />
        alert(this.nome);<br />
    }<br />
};<br />
teste.teste();</p>
]]></content:encoded>
	</item>
</channel>
</rss>

