textContent vs innerText - JavaScript Tutorial

Поделиться
HTML-код
  • Опубликовано: 14 янв 2025

Комментарии • 7

  • @respect-dev-w7n
    @respect-dev-w7n 9 месяцев назад +1

    thank you.This video made me understand the differences

  • @Jtube0101Mega
    @Jtube0101Mega Год назад

    Great lesson! Thank you very much!

  • @abdih1230
    @abdih1230 2 года назад +1

    That was very well explained :)

  • @avertry9529
    @avertry9529 2 года назад +1

    Thanks.
    Could you not use console.time(myTest) console.timeEnd(myTest) than a separate package?

    • @OpenJavaScript
      @OpenJavaScript  2 года назад

      You could use console.time() or performance.now() for this purpose.
      The difference between the two is that performance.now() is more precise.
      FYI: performance.now() is a native function not from an external package ;)

  • @prakharmishra-m5r
    @prakharmishra-m5r 5 месяцев назад

    excellent