diff --git a/doc/js_tutorials/js_core/js_basic_ops/js_basic_ops.markdown b/doc/js_tutorials/js_core/js_basic_ops/js_basic_ops.markdown
index 79ca0862c1..ee110c37cb 100644
--- a/doc/js_tutorials/js_core/js_basic_ops/js_basic_ops.markdown
+++ b/doc/js_tutorials/js_core/js_basic_ops/js_basic_ops.markdown
@@ -22,7 +22,7 @@ Image properties include number of rows, columns and size, depth, channels, type
 let src = cv.imread("canvasInput");
 console.log('image width: ' + src.cols + '\n' +
             'image height: ' + src.rows + '\n' +
-            'image size: ' + src.size().width + '*' src.size().height + '\n' +
+            'image size: ' + src.size().width + '*' + src.size().height + '\n' +
             'image depth: ' + src.depth() + '\n' +
             'image channels ' + src.channels() + '\n' +
             'image type: ' + src.type() + '\n');
@@ -263,4 +263,4 @@ Try it
 <iframe src="../../js_basic_ops_copymakeborder.html" width="100%"
         onload="this.style.height=this.contentDocument.body.scrollHeight +'px';">
 </iframe>
-\endhtmlonly
\ No newline at end of file
+\endhtmlonly