Harsh Guptaharsh756.hashnode.dev·Jul 23, 2024Prototype in JavaScriptUnderstanding Prototypal Behavior : When you write the following code in the browser console : const newHero = ["hulk", "spiderman"]; Pressing enter gives undefined because we haven't returned anything; we've simply declared an array and stored it i...10 likesProgramming BlogsAdd a thoughtful commentNo comments yetBe the first to start the conversation.