Search
Use the join() method to join all the elements of pathSegments array, separated by "/". Store the returned string in the filePath variable.
join()
pathSegments
"/"
filePath