What is it for and when to use `@param`? I underst...
# suitescript
s
What is it for and when to use
@param
? I understand that we provide name, type and description for a function parameter in it, I just don't understand when I should use it and what to use it for. Can anyone help me with this?
s
Whenever you want, its just a JSDoc tag
s
@Sandii Yes, I'm reading there. But I didn't understand when I should use
@Sandii Does it serve to predefine parameters?
@Sandii but should I always use
@param
when creating a function?
b
its documentation
that reasonable code editors can read to provide better code completion
m