8. For and While loops


Seriously trying to figure out how to do this on my own without copying the answer, but I can't figure out what I've down wrong

var oranges=function(price)
while(oranges= 0){
console.log("You have no oranges!);

for (var dogs = 2; dogs < 4; i++){


there is " missing :
console.log("You have no oranges!");