diff --git a/en/application-dev/reference/apis/js-apis-window.md b/en/application-dev/reference/apis/js-apis-window.md index 33f56166dd0ba931ceeebc48f506e04e8e8fb661..c95f1e6aefb70d3fa3f5904d6c8cd8414bbdf7d6 100644 --- a/en/application-dev/reference/apis/js-apis-window.md +++ b/en/application-dev/reference/apis/js-apis-window.md @@ -638,7 +638,7 @@ Obtains the mode of this window. ``` window.getAbilityWindowMode((err, data) => { if (err) { - console.error(''Failed to obtain the window mode. Cause:' + JSON.stringify(err)); + console.error('Failed to obtain the window mode. Cause:' + JSON.stringify(err)); return; } console.info('Window mode obtained. Data:' + JSON.stringify(data))