/* HOMEWORK 7.6: DRAW A TRIANGLE BONUSES Expand the previous homework to draw a triangle. Bonus: Use document.writeln(String) to print to the browser. Don't forget the line break "" Bonus 2: Add an argument x to the function, and contruct a triangle with x levels. Bonus 3: Rewrite the function with while-loops */ let x, y, chr; function drawStars(levels) { // Fill in your answer here. } drawStars(10) drawStars(34) drawStars(45)