Author Question: Which of the following methods would you use to convert a list of Unicode values into a string ... (Read 113 times)

soccerdreamer_17

  • Hero Member
  • *****
  • Posts: 552
Which of the following methods would you use to convert a list of Unicode values into a string containing the corresponding characters?
 
  a) charAt
  b) charCodeAt
  c) fromCharCode
  d) UCodeToChar

Question 2

What will value contain after the following code is executed? var value = new Date(); value = value.valueOf();
 
  a) the current date in the format hh:mm:ss calculated from the number of milliseconds between midnight January 1, 1970 and the
  current date
  b) a large integer representing the number of milliseconds between midnight January 1, 1970 and the current date
  c) the current date in the format hh:mm calculated from the number of milliseconds between midnight January 1, 1970 and the
  current date
  d) a large floating point number representing the number of milliseconds between midnight January 1, 1970 and the current date



jharrington11

  • Sr. Member
  • ****
  • Posts: 365
Answer to Question 1

Ans: (c)

Answer to Question 2

Ans: (b)



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

The top five reasons that children stay home from school are as follows: colds, stomach flu (gastroenteritis), ear infection (otitis media), pink eye (conjunctivitis), and sore throat.

Did you know?

The use of salicylates dates back 2,500 years to Hippocrates's recommendation of willow bark (from which a salicylate is derived) as an aid to the pains of childbirth. However, overdosage of salicylates can harm body fluids, electrolytes, the CNS, the GI tract, the ears, the lungs, the blood, the liver, and the kidneys and cause coma or death.

Did you know?

Medication errors are three times higher among children and infants than with adults.

Did you know?

In 1844, Charles Goodyear obtained the first patent for a rubber condom.

Did you know?

Persons who overdose with cardiac glycosides have a better chance of overall survival if they can survive the first 24 hours after the overdose.

For a complete list of videos, visit our video library