Background Let us continue with our task of seeing how repeatChar is coded in various languages. In this post, we will use JavaScript. Specifically, NodeJS. Code Outline Function:-repeatChar ( char ch, int numberofChars) Declare Variables buffer as an array ( var buffer = [] ) Validate Arguments ch Check if ch is a string … Continue reading repeatChar in Node.js
nodejs ( programming language )
Nodejs:- Variable declaration
Background Two weeks ago or so, I ran into a need for a sample code. I googled based on the scenario, and interestingly enough the most prevalent sample code was one written in nodeJS. I do not know nodeJS and could not understand the code. I thus googled for language-specific sample code. I found one … Continue reading Nodejs:- Variable declaration
You must be logged in to post a comment.