Search posts, tags, users, and pages
komal lodhi
When you need to create a function in JavaScript, the main method is to use the function keyword followed by the function name as shown below: function greetings(name) { console.log(`Hello, ${name}!
Markdown supported · ⌘↵ to post
No responses yet.