Skip to content

Commit b7f9949

Browse files
committed
Updated function name
1 parent 404c94a commit b7f9949

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/utils/string/Reverse.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
* Takes the given string and reverses it, returning the reversed string.
99
* For example if given the string `Atari 520ST` it would return `TS025 iratA`.
1010
*
11-
* @function Phaser.Utils.String.ReverseString
11+
* @function Phaser.Utils.String.Reverse
1212
* @since 3.0.0
1313
*
1414
* @param {string} string - The string to be reversed.
1515
*
1616
* @return {string} The reversed string.
1717
*/
18-
var ReverseString = function (string)
18+
var Reverse = function (string)
1919
{
2020
return string.split('').reverse().join('');
2121
};
2222

23-
module.exports = ReverseString;
23+
module.exports = Reverse;

0 commit comments

Comments
 (0)