diff --git a/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md b/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md index d13c1d5197fc30eb0d8dc4c5f37f41d7bcf10b66..e3d6fce05ebe584e5ca15de6e5cd9e1d2347a595 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md +++ b/zh-cn/application-dev/reference/apis/js-apis-data-preferences.md @@ -382,7 +382,7 @@ let promise = preferences.put('startup', 'auto'); promise.then(() => { console.info("Succeeded in putting value of 'startup'."); }).catch((err) => { - console.info("Failed to put value of 'startup'. Cause: " + err)); + console.info("Failed to put value of 'startup'. Cause: " + err); }) ```