Why does a function returns undefined when called?A function always returns a value. If a function does not return any value explicitly, it'll return undefined implicitly.4 min read·patroswastik.hashnode.dev3JRAFeb 16, 2023