JavaScript Numbers and Dates - Exercise 2

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// What is the difference between parseInt and Number?
const topic = 'numbers-and-dates';
console.log(topic);

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// What radix should normally be supplied to parseInt?
const topic = 'numbers-and-dates';
console.log(topic);

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// How does parseFloat handle a decimal string?
const topic = 'numbers-and-dates';
console.log(topic);

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// What does Math.abs return?
const topic = 'numbers-and-dates';
console.log(topic);

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// How can Math.max be used with an array?
const topic = 'numbers-and-dates';
console.log(topic);

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// What does Math.min return for an empty argument list?
const topic = 'numbers-and-dates';
console.log(topic);

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// How can a number be rounded to the nearest integer?
const topic = 'numbers-and-dates';
console.log(topic);

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// Why should monetary calculations be designed carefully?
const topic = 'numbers-and-dates';
console.log(topic);

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// What does Number.EPSILON help compare?
const topic = 'numbers-and-dates';
console.log(topic);

Review the Numbers and Dates behavior described in the question, then use the example to test your understanding.

javascript

// How can you clamp a number between two bounds?
const topic = 'numbers-and-dates';
console.log(topic);