diff --git a/src/utils/Utils.js b/src/utils/Utils.js index ff24dba3e..fce66e2ee 100644 --- a/src/utils/Utils.js +++ b/src/utils/Utils.js @@ -48,7 +48,7 @@ Phaser.Utils = { */ rotateArray: function (matrix, direction) { - if (typeof direction !== 'String') + if (typeof direction !== 'string') { direction = ((direction % 360) + 360) % 360; }