Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • What is the function has arguments? Commented Jun 12, 2021 at 22:17
  • Nevermind. I think I can just pass the arguments when I call. Commented Jun 12, 2021 at 22:18
  • If you do want arguments, then wrap the function in another function Commented Jun 13, 2021 at 0:06
  • Or I can just pass the arguments when I call the function as @Majed Badawi posted above. Commented Jun 13, 2021 at 0:11
  • @PKJ That's the same thing as I suggested here. Commented Jun 13, 2021 at 1:47