Skip to content

Creating a function Characters that are used for multiple purposes

Navin Subramani edited this page Aug 24, 2019 · 1 revision

Below are some of the characters that are used for certain purposes and using them in a function that uses these characters in several other scenarios could create edge cases. Though the framework will handle such cases it is good to know the purpose of the characters.

'(' & ')'

  • Used in functions to indicate the arguments or some definitions.
  • Used in a constant string

,

  • Used in a statement to split two functions
  • Used in array function to denote the separate elements
  • Used in a constant string

'{' & '}'

  • Used to denote the set of characters within it as an array. Also uses the ',' in it to separate the elements
  • Used in a constant string

"

  • Used to indicate the characters that lie within it as a string.
Clone this wiki locally