Functions
A function is very often a dialogue. The writing is as follows:
A function can contain parameters:
Trigger a function
A function is delineated as follows:
A decorator can indicate the role of a function and trigger it according to a situation
Return of a function
A function can return a value
Warning, unlike JS, the
return
keyword must return a value. He can not be alone
Last updated