Array.prototype.toReversedintermediateconst words = ['alpha', 'beta', 'gamma']
words.toReversed() // β ['gamma', 'beta', 'alpha']Use toReversed() on string arrays to produce a reversed copy for display or comparison.
toReversed() works on arrays of any element type β numbers, strings, objects, etc.
Challenge: Implement reverseStringArray(arr) that returns arr.toReversed() for a string array.
reverseStringArray(['a', 'b', 'c']) // β ['c', 'b', 'a']
reverseStringArray(['hello', 'world']) // β ['world', 'hello']