A function is a block of reusable code.
Author Note: This guide follows the "Notes" format—bullet points, code snippets, and direct interview answers. javascript notes pdf ameerpet
var arr = [10, 20, 30, 40];