Jump to content

Call a function: Difference between revisions

(→‎{{header|jq}}: paragraph breaks)
Line 679:
 
This is not directly supported but can be simulated by defining the function to accept JSON objects. For example, if fn were such a function,
we might invoke fn like so: <tt>fn( {"required": 1, "optional": 2} )</tt>.
'''Using a function in statement context'''
2,484

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.