<p dir="auto">the brownie points of <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/alayek/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/alayek">@alayek</a> (freecodecamp.com/alayek) don't match what he sees on his navbar:<br>
<a href="https://files.gitter.im/alayek/oeko/Screenshot-from-2015-10-27-10_54_55.png" rel="nofollow">https://files.gitter.im/alayek/oeko/Screenshot-from-2015-10-27-10_54_55.png</a></p>
<p dir="auto">Advanced Algorithm <a href="http://www.freecodecamp.com/challenges/no-repeats-please" rel="nofollow"> No Repeat Please</a> has an issue.<br>
User Agent is: <code class="notranslate">Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36</code>.</p>
<p dir="auto">Code editor stuck and screen cannot be accessed after put first code revision in. This code here is a slight modified version to be changed. Please help check the page.</p>
<h2 dir="auto">Much thanks!!</h2>
<p dir="auto">function permAlone(str) {</p>
<p dir="auto">//split string to array<br>
var chars = str.split("");<br>
var noRepeat = [], permArr = [], usedChars = [];</p>
<p dir="auto">//check if all characters same return 0<br>
var matched = 0;<br>
for (var j = 0; j &lt; chars.length - 1; j++) {<br>
if (chars[j] === chars[j+1]) matched++;<br>
}</p>
<p dir="auto">if (matched === chars.length - 1) {<br>
return 0;<br>
} else {                             //if not all matching characters<br>
//create permutaion of strings (factorial) recursive n! into new array<br>
(function permutate() {<br>
for (var i = 0; i &lt; chars.length; i++) {<br>
var ch = chars.splice(i, 1);<br>
usedChars.push(ch);<br>
if (chars.length === 0) permArr[permArr.length] = usedChars.join("");<br>
permutate(chars.join(""));<br>
chars.splice(i, 0, ch);<br>
usedChars.pop();<br>
}<br>
return permArr;<br>
})(chars);</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="//check for consecutive same characters regexp exclude
noRepeat = permArr.filter(function(value){     
  var regex = /([a-zA-Z])\1+/;
  return (!regex.test(value));   //return value when there is no duplicate
});"><pre class="notranslate"><code class="notranslate">//check for consecutive same characters regexp exclude
noRepeat = permArr.filter(function(value){     
  var regex = /([a-zA-Z])\1+/;
  return (!regex.test(value));   //return value when there is no duplicate
});
</code></pre></div>
<p dir="auto">}</p>
<p dir="auto">return noRepeat.length;<br>
}</p>