JavaScript Flashcards
1
Q
What is a technique for getting a numerical value into USD format?
A
Intl.NumberFormat()
2
Q
Assume there is an event listener which triggers the following function. What problem(s) will occur?
let myFunction = () => {
console.log( $(this) )
{
A
Arrow functions do not play nice with $(this).