BusinessesQuiz of the Day

LiveEdu Quiz of the Day: 28/12/2016

JavaScript Quiz!

javascript-quiz-of-the-day

Answer:

C) 8

All JavaScript variables must be identified with unique names. These unique names are called identifiers.

Identifiers can be short names (like x and y) or more descriptive names (age, sum, totalVolume).

The general rules for constructing names for variables (unique identifiers) are:

  • Names can contain letters, digits, underscores, and dollar signs;
  • Names must begin with a letter;
  • Names can also begin with $ and _;
  • Names are case sensitive (y and Y are different variables);
  • Reserved words (like JavaScript keywords) cannot be used as names.

In JavaScript, the equal sign (=) is an “assignment” operator, not an “equal to” operator. This is different from algebra.

If you want to explore more, visit our JavaScript edu & tutorials section!

Below are some examples:

Trading system with AI in JavaScript

Javascript Canvas stuff

 

Avatar
About author

I, Dr. Michael J. Garbade is the co-founder of the Education Ecosystem (aka LiveEdu), ex-Amazon, GE, Rebate Networks, Y-combinator. Python, Django, and DevOps Engineer. Serial Entrepreneur. Experienced in raising venture funding. I speak English and German as mother tongues. I have a Masters in Business Administration and Physics, and a Ph.D. in Venture Capital Financing. Currently, I am the Project Lead on the community project -Nationalcoronalvirus Hotline I write subject matter expert technical and business articles in leading blogs like Opensource.com, Dzone.com, Cybrary, Businessinsider, Entrepreneur.com, TechinAsia, Coindesk, and Cointelegraph. I am a frequent speaker and panelist at tech and blockchain conferences around the globe. I serve as a start-up mentor at Axel Springer Accelerator, NY Edtech Accelerator, Seedstars, and Learnlaunch Accelerator. I love hackathons and often serve as a technical judge on hackathon panels.