I am attempting the [bean counting example in the functions chapter of the book Eloquent Javascript](http://eloquentjavascript.net/03_functions.html#p_8y74cOkS91). My function is returning a blank. 

Without giving me the full answer (I'm working through this example to learn), can someone tell me why my code is not printing any text?"

```
var string = "donkey puke on me boot thar be thar be!";

for (var i = 0; i <= string.length; i++);

function getB(){
  if (string.charAt(i) == "b")
    return i;
  else return "";
}

console.log(getB());

```