We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6225526 commit 9481e00Copy full SHA for 9481e00
docs/samples/test.client.js
@@ -11,13 +11,14 @@ const { StdOut } = require('../../src/libs')
11
class TestClient {
12
/**
13
* Main static function
14
- * @param {[number, number]} args - [n, m]
+ * @param {Array<string>} args - Syntax: `[n, m]`
15
+ * * The first number `n`
16
+ * * The second number `m`
17
* @returns {number} `n` * `m`
18
* @example <caption>testing the client</caption>
- * ```sh
19
+ * {@lang bash}
20
* $ ./client TestClient 10 50
21
* 500
- * ```
22
*/
23
static main (args) {
24
const n = parseInt(args[0])
@@ -27,4 +28,6 @@ class TestClient {
27
28
}
29
30
31
+TestClient.main()
32
+
33
module.exports = { TestClient }
0 commit comments