Modified region tag
Updated by replacing var with const and let variables.
Used guard clause
Added exception handling technique(try-catch block).
Fixes # 218662264
Has it been tested?
[X] Development testing done
[ ] Unit or integration test implemented
Checklist
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have performed a peer-reviewed with team member(s)
[X] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] Any dependent changes have been merged and published in downstream modules
Description
Modified region tag Updated by replacing var with const and let variables. Used guard clause Added exception handling technique(try-catch block). Fixes # 218662264
Has it been tested?
Checklist