# :blue_book: get Array[@@species] --- Array[Symbol.species] აბრუნებს მასივის კონსტრუქტორ ფუნქციას. --- # :pencil: Syntax/სინტაქსი --- ``` Array[Symbol.species] ``` --- # :bulb: Description/აღწერა --- The @@species accessor property აბრუნებს თანდაყოლილ ანუ დეფოლთ კონსტრუქტორს მასივის ობიექტისთის. --- # :key: Example/მაგალითი --- ``` Array[Symbol.species]; // function Array() ``` ``` class MyArray extends Array { // Overwrite MyArray species to the parent Array constructor static get [Symbol.species]() { return Array; } } ``` ``` // Hypothetical underlying implementation for illustration class Array { static get [Symbol.species]() { return this; } } ``` --- ### :bookmark_tabs: resources / წყარო --- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/@@species https://docs.w3cub.com/javascript/global_objects/array/@@species ---