Joshua Olumoyintitobzzz.hashnode.dev·Aug 2, 2023Functions in javascriptPrerequisite: This document is basic enough, but to understand it well, you should have a good knowledge of variables and simple logic in Javascript, and you should have an integrated development environment (IDE) such as Vs Code, Sublime Text, or a ...Discuss·61 readsfunctions
Pranav Patanipranavpatani.hashnode.dev·Feb 18, 2023Why Does The Browser's Console Return Undefined While Using Functions like console.log()?You must have really enjoyed it when you used the console.log() function on your browser's console for the first time. I used it the first time to print "Hello World" on the console and felt very proud of myself. https://media.giphy.com/media/3oEhmKM...Discuss·4 likes·84 readsJavaScript
Shushma Munirajshushma.hashnode.dev·Feb 14, 2023Mystery behind display of "undefined" in the ConsoleHave you also noticed "undefined" appearing on your Console when running certain methods or expressions and wondered why? Well, that's because the Console, which is a tool for debugging and inspecting the state of a web page is designed to display th...Discuss·1 like·32 readsundefined
Godswill Success Chibuzogodswillch.hashnode.dev·Jan 7, 2023JavaScript Function Return Keyword Explained For Absolute Beginnersin this article, I will try my best to explain the JavaScript return keyword in such a way an absolute beginner can easily understand. just as the word implies; the return keyword returns a value, the value could be a number a string, or any other da...Discuss·8 likes·78 readsJavaScript
Oladetoun Gbemisolaoladetoungee.hashnode.dev·Nov 21, 2022Javascript Return StatementsHello Hashnode family💜, Welcome back to my blog😊. So a friend of mine who recently just started learning javascript reached out to me and said, "Return in javascript is giving me a tough time." I quickly scrambled around to get him articles on retu...amirreza heydari and 2 others are discussing this3 people are discussing thisDiscuss·69 likes·276 readsJavaScript
Seyed Ahmadseyedahmaddv.hashnode.dev·Jul 23, 2022What is "Warning: unreachable code after return statement" about?when you use functions in javascript, you use return. If you find yourself in these situations: When using an expression after a return statement 2.when using a semicolon-less return statement but including an expression directly after. see codes b...Discuss·41 readsreturn statement in javascript