en.javascript.info/1-js/09-classes/06-instanceof/instanceof.svg
2019-11-30 08:51:52 +03:00

1 line
No EOL
3.4 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="509" height="435" viewBox="0 0 509 435"><defs><style>@import url(https://fonts.googleapis.com/css?family=Open+Sans:bold,italic,bolditalic%7CPT+Mono);@font-face{font-family:&apos;PT Mono&apos;;font-weight:700;font-style:normal;src:local(&apos;PT MonoBold&apos;),url(/font/PTMonoBold.woff2) format(&apos;woff2&apos;),url(/font/PTMonoBold.woff) format(&apos;woff&apos;),url(/font/PTMonoBold.ttf) format(&apos;truetype&apos;)}</style></defs><g id="inheritance" fill="none" fill-rule="evenodd" stroke="none" stroke-width="1"><g id="instanceof.svg"><path id="Rectangle-1" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M9 200h139v28H9z"/><text id="Animal.prototype" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="8" y="192">Animal.prototype</tspan></text><path id="Rectangle-1" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M9 94h139v28H9z"/><text id="Object.prototype" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="8" y="86">Object.prototype</tspan></text><path id="Line-2" fill="#EE6B47" fill-rule="nonzero" d="M68.5 134.5l7 14h-6v28h-2v-28h-6l7-14z"/><path id="Rectangle-1-Copy" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M9 307h139v28H9z"/><text id="Rabbit.prototype" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="8" y="299">Rabbit.prototype</tspan></text><path id="Line-2-Copy" fill="#EE6B47" fill-rule="nonzero" d="M68.5 241.5l7 14h-6v28h-2v-28h-6l7-14z"/><text id="[[Prototype]]" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="80" y="266">[[Prototype]]</tspan></text><path id="Rectangle-1-Copy-2" fill="#FFF9EB" stroke="#E8C48E" stroke-width="2" d="M9 398h139v28H9z"/><text id="rabbit" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="8" y="390">rabbit</tspan></text><path id="Line-2-Copy-2" fill="#EE6B47" fill-rule="nonzero" d="M68.5 347.5l7 14h-6v28h-2v-28h-6l7-14z"/><text id="[[Prototype]]-Copy-3" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="80" y="372">[[Prototype]]</tspan></text><text id="[[Prototype]]-Copy" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="80" y="159">[[Prototype]]</tspan></text><path id="Line-2" fill="#EE6B47" fill-rule="nonzero" d="M70.5 27.5l7 14h-6v28h-2v-28h-6l7-14z"/><text id="null" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="56" y="16">null</tspan></text><text id="[[Prototype]]-Copy-2" fill="#8A704D" font-family="PTMono-Regular, PT Mono" font-size="14" font-weight="normal"><tspan x="81" y="54">[[Prototype]]</tspan></text><text id="=-Animal.prototype?" fill="#EE6B47" font-family="PTMono-Regular, PT Mono" font-size="16" font-weight="normal"><tspan x="317" y="217">= Animal.prototype?</tspan></text><path id="Line" fill="#EE6B47" fill-rule="nonzero" d="M305.787 232.115l1.098 1.672-.836.549-116.296 76.318 3.292 5.017L177.5 317.5l7.864-13.534 3.292 5.016 116.295-76.318.836-.549z"/><path id="Line-Copy" fill="#EE6B47" fill-rule="nonzero" d="M198.5 205.5v6h107v2h-107v6l-14-7 14-7z"/><path id="Line-Copy-2" fill="#EE6B47" fill-rule="nonzero" d="M182.5 122.5l15.6 1.276-3.112 5.129 110.03 66.74.856.519-1.038 1.71-.855-.519-110.03-66.74-3.111 5.13-8.34-13.245z"/></g></g></svg>