@@ -26,12 +26,12 @@ child.b = 2;
26
26
* ---------------------- ---- ---- ----
27
27
* */
28
28
29
- test ( "Is there an 'a' and 'b' own property on childObj ?" , function ( ) {
30
- equals ( child . hasOwnProperty ( 'a' ) , __ , 'childObj .hasOwnProperty(\'a\')?' ) ;
31
- equals ( child . hasOwnProperty ( 'b' ) , __ , 'childObj .hasOwnProperty(\'b\')?' ) ;
29
+ test ( "Is there an 'a' and 'b' own property on child ?" , function ( ) {
30
+ equals ( child . hasOwnProperty ( 'a' ) , __ , 'child .hasOwnProperty(\'a\')?' ) ;
31
+ equals ( child . hasOwnProperty ( 'b' ) , __ , 'child .hasOwnProperty(\'b\')?' ) ;
32
32
} ) ;
33
33
34
- test ( "Is there an 'a' and 'b' property on childObj ?" , function ( ) {
34
+ test ( "Is there an 'a' and 'b' property on child ?" , function ( ) {
35
35
equals ( child . a , __ , 'what is \'a\' value?' ) ;
36
36
equals ( child . b , __ , 'what is \'b\' value?' ) ;
37
37
} ) ;
@@ -42,22 +42,22 @@ test("If 'b' was removed, whats b value?", function () {
42
42
} ) ;
43
43
44
44
45
- test ( "Is there a 'c' own property on childObj ?" , function ( ) {
46
- equals ( child . hasOwnProperty ( 'c' ) , __ , 'childObj .hasOwnProperty(\'c\')?' ) ;
45
+ test ( "Is there a 'c' own property on child ?" , function ( ) {
46
+ equals ( child . hasOwnProperty ( 'c' ) , __ , 'child .hasOwnProperty(\'c\')?' ) ;
47
47
} ) ;
48
48
49
- // Is there a 'c' own property on childObj ? No, check its prototype
50
- // Is there a 'c' own property on childObj .[[Prototype]]? Yes, its value is...
51
- test ( "Is there a 'c' property on childObj ?" , function ( ) {
52
- equals ( child . c , __ , 'what is the value of childObj .c?' ) ;
49
+ // Is there a 'c' own property on child ? No, check its prototype
50
+ // Is there a 'c' own property on child .[[Prototype]]? Yes, its value is...
51
+ test ( "Is there a 'c' property on child ?" , function ( ) {
52
+ equals ( child . c , __ , 'what is the value of child .c?' ) ;
53
53
} ) ;
54
54
55
55
56
- // Is there a 'd' own property on childObj ? No, check its prototype
57
- // Is there a 'd' own property on childObj .[[Prototype]]? No, check it prototype
58
- // childObj .[[Prototype]].[[Prototype]] is null, stop searching, no property found, return...
59
- test ( "Is there an 'd' property on childObj ?" , function ( ) {
60
- equals ( child . d , __ , 'what is the value of childObj .d?' ) ;
56
+ // Is there a 'd' own property on child ? No, check its prototype
57
+ // Is there a 'd' own property on child .[[Prototype]]? No, check it prototype
58
+ // child .[[Prototype]].[[Prototype]] is null, stop searching, no property found, return...
59
+ test ( "Is there an 'd' property on child ?" , function ( ) {
60
+ equals ( child . d , __ , 'what is the value of child .d?' ) ;
61
61
} ) ;
62
62
63
63
0 commit comments