Class Test
Object
|
+--Test
- class
Test
Creates a Test object.
This test is used to demonstrate the instanceof in JavaScript, used
in the equals() method.
Defined in Test.js
|
Constructor Summary |
Test
(a,b,c)
|
|
Method Summary |
function
|
equals(anotherTest)
Returns true, if the provided object is another Test object and has
the same values for a,b and c.
|
Test
function Test(a,b,c)
Parameters:
a - An Object to use in equals
b - Another Object to use in equals
c - Another Object to use in equals
equals
function equals(anotherTest)
Returns true, if the provided object is another Test object and has
the same values for a,b and c.
Parameters:
anotherTest - The other object for this operation.