Introduction
Read-only variables help keep important values safe from accidental changes in your script.
When you want to store a value that should never change during the script.
To protect configuration settings from being modified by mistake.
When sharing variables between functions but want to keep them constant.
To avoid bugs caused by accidentally changing critical data.
When you want to make your script easier to understand by marking fixed values.