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

 

Related posts
BusinessesCareer Development

4 Unique Proven Tips for Finding Awesome Employees

Businesses

Getting Web Development Projects Right

Artificial IntelligenceBusinesses

CPU, GPU, FGPA, or DSP: Heterogeneous Computing Multiplies the Processing Power

BusinessesCoding Community

Achieving the Best QoE: Performance Libraries Accelerate Code Execution