Class_1

Class_1

This class contains a list of funny jokes that can be added and getted/

Constructor

new Class_1()

Source:

Methods

Funtion_1() → {string}

Return a random joke from the inner list
Source:
Returns:
Type:
string
A random joke

Funtion_2()

Print on the console a random joke. I hope it is funny!
Source:

Funtion_3(joke)

This function adds a joke into the inner array
Source:
Parameters:
Name Type Description
joke string A funny joke