Hi Everyone,
I am using javascript to script my service tasks. I use print statement to see the logs. I was wondering If it possible to optionally execute that line based on the some flag or variable without wrapping that around if-else.
e.g. if flag is set to true
print(“Hello”) will print Hello
and if flag is false it will have no effect .