You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
2
+
3
+
### Table of Contents
4
+
5
+
-[HelloWorld](#helloworld)
6
+
-[shout](#shout)
7
+
-[wave](#wave)
8
+
-[hello_async](#hello_async)
9
+
-[hello](#hello)
10
+
11
+
## HelloWorld
2
12
3
13
Main class, called HelloWorld
4
14
@@ -7,9 +17,32 @@ Main class, called HelloWorld
7
17
```javascript
8
18
var HelloWorld =require('index.js');
9
19
varHW=newHelloWorld();
20
+
OR
21
+
varHW=newHelloWorld('yo');
22
+
```
23
+
24
+
### shout
25
+
26
+
Shout a phrase really loudly by adding an exclamation to the end, asynchronously
27
+
28
+
**Parameters**
29
+
30
+
-`string`**[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** phrase to shout
31
+
-`args`**[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)** different ways to shout
32
+
-`args.louder`**[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)** adds exclamation points to the string
33
+
-`callback`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** from whence the shout comes, returns a string
Returns **[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** a happy-go-lucky string saying hi
24
57
25
-
## shout
58
+
## hello_async
26
59
27
-
Shout a phrase really loudly by adding an exclamation to the end, asynchronously
60
+
This is a standalone function (async) that logs a string.
28
61
29
62
**Parameters**
30
63
31
-
-`phrase`**[String](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String)** to shout
32
-
-`different`**[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)**ways to shout
33
-
-`callback`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** from whence the shout comes, returns a string
64
+
-`args`**[Object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object)**different ways to alter the string
65
+
-`args.louder`**[boolean](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean)**adds exclamation points to the string
66
+
-`callback`**[Function](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/function)** from whence the hello comes, returns a string
0 commit comments