
A. Simple Pattern 1.Print a horizontal line of stars. // ***** const horizontalLine = function (n) { let str = "" for (let i = 1; i <= n; i++) str += "*"; console.log(str); } horizontalLine(5) 2.Print a vertical line of stars. /...
MERN Stack Developer
A passionate MERN Stack Developer from India I am a full stack web developer with experience in building responsive websites and applications using JavaScript frameworks like ReactJS, NodeJs, Express etc.,
Markdown supported · ⌘↵ to post
No responses yet.