Please can someone explain what this command does in javascript or how this language feature is called? Why is there forEach
on empty array?
[].forEach.call(document.querySelectorAll('.mdc-text-field'), function (el) {
new MDCTextField(el);
});
I am new to frontend technologies.