Pergunta de entrevista da empresa Amazon

Write a JavaScript function that notifies the user based on data associated with an element.

Resposta da entrevista

Sigiloso

10 de set. de 2018

e.stopPropogation() is the key to this question, since you don't want the event to trigger the parent's event listeners.