arraysJavaScriptArraysEasyWhich array method gives you both the element and its index in the callback?1forEach((element, index) => ...)2map((element) => ...) only3filter((element) => ...) only4push()Back to list