Syntax Posted by Rémi Debord on 03/04/2014 function foo() { if (counter <= 10) return; // it works! } Please enable JavaScript to view the comments powered by Disqus.