Support Amarindaz on Patreon: https://goo.gl/it9Gpk -~-
Title:
Blog Post:http://www.amarindaz.com/google-apps-...
FB page: / amarindaz
Instagram: https://goo.gl/ma9WUh
What is google apps script?
Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party services and build web applications.
========================================================
Recommended books:
Learning google apps script- http://amzn.to/2g00LoM
Google apps script for beginners- http://amzn.to/2gVAKvs
========================================================
IF STATEMENT
Google apps script If statement check/validate the condition(s) present inside the parenthesis.Google apps script if else statements instruction(s) should be enclosed within the curly braces.
It executes the instructions enclosed within the if statement block only if the condition returns true. Otherwise, Google script compiler starts compiling the code present next to if statement block.
IF ELSE STATEMENT
Like if statement, Google apps script If else statement check/validate the condition(s) present inside the parenthesis (). If the condition(s) is true then instructions in if block gets executed. Otherwise, instruction in the else block gets executed.
MULTIPLE IF ELSE STATEMENT
Multiple If else statement is used to check the conditions in the sequential order. If anyone of the condition becomes true then compiler execute it instructions and comes out of the multiple if else statement block.
NESTED IF ELSE STATEMENT
Nested if else statement is self-explanatory. It surrounded by Nested blocks of If else statements. This will be helpful if your script needs to satisfy multiple conditions.
💼 To Hire Me 👉 https://fwd.cx/WLGgpTiZW5HK
Checkout my app 👉 https://www.myfreshtools.com