660 if (property != null) { |
660 if (property != null) { |
661 return new FindProperty(start, this, property); |
661 return new FindProperty(start, this, property); |
662 } |
662 } |
663 |
663 |
664 if (deep) { |
664 if (deep) { |
665 final ScriptObject proto = getProto(); |
665 final ScriptObject myProto = getProto(); |
666 if(proto != null) { |
666 if (myProto != null) { |
667 return proto.findProperty(key, deep, stopOnNonScope, start); |
667 return myProto.findProperty(key, deep, stopOnNonScope, start); |
668 } |
668 } |
669 } |
669 } |
670 |
670 |
671 return null; |
671 return null; |
672 } |
672 } |