Javascript dynamically invoke object method from string December 24, 2022 by Tarik if the name of the property is stored in a variable, use [] foo[method]();