do you what is printed to the console? that is not a pyramid
you can also use JSON.stringify in the way below so you can directly compare with the string shown in the tests console.log(JSON.stringify(pyramid("o", 4, false)));
It returns the correct output when the boolen is true, pyramid with a vertex facing downwards, but I’m not getting the right ouput when the boolean is false. Please help I’m confused!