Jump to content


Popular Content

Showing content with the highest reputation on 06/19/2021 in all areas

  1. Javascript has a feature where you can access any object's properties or methods using square brackets and a string inside. window.alert() is the same as window["alert"](). myClass.value is the same as myClass["value"]. Since the square bracket notation uses a string instead of an identifier, you can put a variable containing a string within the square brackets.
    1 point
  • Create New...