We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 404c94a commit b7f9949Copy full SHA for b7f9949
1 file changed
src/utils/string/Reverse.js
@@ -8,16 +8,16 @@
8
* Takes the given string and reverses it, returning the reversed string.
9
* For example if given the string `Atari 520ST` it would return `TS025 iratA`.
10
*
11
- * @function Phaser.Utils.String.ReverseString
+ * @function Phaser.Utils.String.Reverse
12
* @since 3.0.0
13
14
* @param {string} string - The string to be reversed.
15
16
* @return {string} The reversed string.
17
*/
18
-var ReverseString = function (string)
+var Reverse = function (string)
19
{
20
return string.split('').reverse().join('');
21
};
22
23
-module.exports = ReverseString;
+module.exports = Reverse;
0 commit comments