Members
grades :Array.<number>
Type:
- Array.<number>
(constant) person1
Person1
see Person
(constant) student :Student
Type:
(constant) studentName :String
Student Name
Type:
- String
(constant) todo :Object
Type:
- Object
Methods
calculateTax(amount, tax) → {string}
Calculate Tax
Parameters:
Name | Type | Description |
---|---|---|
amount |
number | Total amount |
tax |
number | Tax percentage
|
Returns:
- Total with a dollar sign
- Type
- string
Type Definitions
Student
A student
Type:
- Object
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
id |
number | Student ID |
|
name |
string | Student name |
|
age |
string | number |
<optional> |
Student age |
isActive |
boolean | Wether Student is active |