I started writing the if else statement for "myPlace" variable, but then I thought wait! GreeneMath will probably want to reinforce the switch statement with this task, so I ended up achiveving the same result with the switch statement :) P.S. The audio quality is top notch!
@Greenemath3 жыл бұрын
In actual programming, it's really rare for me to use the switch statement. I end up using a minifier, which changes anything and everything into the conditional operation "?" since it is the shortest. The audio actually sounds okay starting in 45. The new mic is dynamic and needs lots of gain.
@laponiec3 жыл бұрын
@@Greenemath Also the ternary operator looks the most fancy :)
@r.josue.g2 жыл бұрын
Hi! When or in which type of scenarios would you say it's recommended to use the for loop and while loop?
@Greenemath2 жыл бұрын
It's all just based on the scenario and mostly personal preference. In programming, you will find many different ways to accomplish the same thing. JavaScript has built in methods (such as forEach) that can be used in the place of the traditional for loop when working with arrays.