Global

Members

grades :Array.<number>

Type:
  • Array.<number>
Source:

(constant) person1

Person1 see Person

Source:

(constant) student :Student

Type:
Source:

(constant) studentName :String

Student Name

Type:
  • String
Author:
  • Sreekanth Dayanand
Source:

(constant) todo :Object

Type:
  • Object
Source:

Methods

calculateTax(amount, tax) → {string}

Calculate Tax

Parameters:
Name Type Description
amount number

Total amount

tax number

Tax percentage

  • calculateTax(120,10);
  • calculateTax(220,15);
Source:
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

Source: