Author Question: Which of the following methods would you use to convert a list of Unicode values into a string ... (Read 28 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?

Only one in 10 cancer deaths is caused by the primary tumor. The vast majority of cancer mortality is caused by cells breaking away from the main tumor and metastasizing to other parts of the body, such as the brain, bones, or liver.

Did you know?

It is believed that humans initially contracted crabs from gorillas about 3 million years ago from either sleeping in gorilla nests or eating the apes.

Did you know?

Cucumber slices relieve headaches by tightening blood vessels, reducing blood flow to the area, and relieving pressure.

Did you know?

Nitroglycerin is used to alleviate various heart-related conditions, and it is also the chief component of dynamite (but mixed in a solid clay base to stabilize it).

Did you know?

When Gabriel Fahrenheit invented the first mercury thermometer, he called "zero degrees" the lowest temperature he was able to attain with a mixture of ice and salt. For the upper point of his scale, he used 96°, which he measured as normal human body temperature (we know it to be 98.6° today because of more accurate thermometers).

For a complete list of videos, visit our video library