I used to interview would-be students for Lambda School (we now have a team that does that), and we had many GA grads that couldn't even pass our code challenge we required to start.
It wasn't outrageously hard stuff they were tripping up on, if you don't grasp closure or recursion or something that might be OK, but most couldn't code fizzbuzz. After having paid $10-15k in tuition and being trained for three months, I would at a minimum expect a student to be able to write a for loop.