Basic of Javascrpit

Tell us what’s happening:
Describe your issue in detail here.

please am sure if am write here. please advise

Your code so far

var myName = "macdonald";
myName = "john"

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Challenge: Declare JavaScript Variables

Link to the challenge:

You only needs to create one name.

  1. First declare a variable myName using var keyword without assigning any
    value to it.
  2. You are not required to assign any value to myName variable for this challenge.
  3. In JavaScript, always end a statement with a semicolon.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.