为什么控制台报错 Uncaught SyntaxError: Unexpected token {



<br> var style=document.getElementById(&quot;face&quot;).style;<br> var move=functon(){<br> style.left=Math.floor(Math.random()*500)+&#39;px&#39;;<br> style.top=Math.floor(Math.random()*400)+&#39;px&#39;;</p> <pre><code> } setInterval(move,2000); &lt;/script&gt; </code></pre> <p></body></p>
     <div id="face" style="position:absolute">&#x263a;</div><!--要absolute,fixed,relative定位设置left/top才有用-->
    <script>
        var style=document.getElementById("face").style;
        ///////var move=functon(){
        var move=function(){//
            style.left=Math.floor(Math.random()*500)+'px';
            style.top=Math.floor(Math.random()*400)+'px';

        }
        setInterval(move,2000);
    </script>