We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
looks great - template literals really simplify the output. You could simplify it a bit more by eliminating one of the counter variables (either i or j) since one of them is just n minus the other one. My version is:
Staircase
You are viewing a single comment's thread. Return to all comments →
looks great - template literals really simplify the output. You could simplify it a bit more by eliminating one of the counter variables (either i or j) since one of them is just n minus the other one. My version is: