Global

Members

(constant) age :Array

Source:

Just an Array

Type:
  • Array

(constant) fullName :string

Source:

User's FullName

Type:
  • string

(route) List Users

Source:
Route:
MethodPath
GET /api/users

Get All Users

(constant) myNewUser :User

Source:
Type:

(constant) names :Array.<String>

Source:

Arrays of names

Type:
  • Array.<String>

(constant) newProgrammer

Source:

Know more in Programmer

(constant) person :Object

Source:

Person Object

Type:
  • Object

(constant) person2 :Object

Source:

Person Object

Type:
  • Object

(constant) scores :Array.<Number>

Source:

Array of Number

Type:
  • Array.<Number>

(constant) strnum :Array.<(Number|String)>

Source:

Arrays of intengers and strings

Type:
  • Array.<(Number|String)>

Methods

addTwo(n1, n2) → {string}

Source:

Add Two numbers and returns a string

Parameters:
Name Type Description
n1 number

first Number

n2 number

second Number

Returns:
  • a text with the response
Type
string

addTwoNumber(n1, n2) → {number}

Source:

Add Two numbers

Parameters:
Name Type Description
n1 number

first Number

n2 number

second Number

Returns:
  • Total Addition
Type
number

generateTableHead(table, data) → {void}

Source:
Author:
  • Fazt <faztweb.com>

Generates a Table Head

Parameters:
Name Type Description
table HTMLTableElement

The Target Table

data Array.<string>

An array of string names

Returns:
Type
void

Type Definitions

User

Source:
Properties:
Name Type Attributes Description
id number

User Id

name string

User Name

age number | string <optional>

User Age (optional)

isActive boolean

User is active

A User

Type:
  • Object