mirror of https://github.com/01-edu/public.git
18 lines
486 B
JSON
18 lines
486 B
JSON
[
|
|
{
|
|
"description": "parent and child must be declared and",
|
|
"code": "equal(typeof parent, 'object')\nequal(typeof child, 'object')"
|
|
},
|
|
{
|
|
"description": "parent.child must be equal to child",
|
|
"code": "equal(parent.child, child)"
|
|
},
|
|
{
|
|
"description": "child.parent must be equal to parent",
|
|
"code": "equal(child.parent, parent)"
|
|
},
|
|
{
|
|
"description": "child.parent.child must be equal to itself",
|
|
"code": "equal(child.parent.child, child)"
|
|
}
|
|
] |