Javascript String Endswith Method Fixing Error Quotobject

Javascript String Endswith Method Fixing Error Quotobject