Methods
add(a, b) → {Number}
Adds two numbers together.
Parameters:
Name | Type | Description |
---|---|---|
a |
Number | |
b |
Number |
- Source:
Returns:
- Type
- Number
greet(name) → {String}
Greets a person by name.
Parameters:
Name | Type | Description |
---|---|---|
name |
String | Name of the person to greet |
- Source:
Returns:
- Type
- String
objectTest(object) → {String}
Returns the name property of an object.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object | Object to read name from |
- Source:
Returns:
- Type
- String