--- id: cf1111c1c11feddfaeb7bdef title: إدخال قائمة في قائمة اخرى challengeType: 1 videoUrl: 'https://scrimba.com/c/crZQZf8' forumTopicId: 18247 dashedName: nest-one-array-within-another-array --- # --description-- يمكنك أيضًا إدخال قوائم داخل قوائم أخرى، مثل أدناه: ```js const teams = [["Bulls", 23], ["White Sox", 45]]; ``` هذا يسمى أيضا قوائم متعددة الأبعاد (multi-dimensional array). # --instructions-- أنشئ قائمة متداخلة تسمى `myArray`. # --hints-- يجب أن تحتوي `myArray` على الأقل علي قائمة واحدة متداخلة في قائمة أخرى. ```js assert(Array.isArray(myArray) && myArray.some(Array.isArray)); ``` # --seed-- ## --after-user-code-- ```js if(typeof myArray !== "undefined"){(function(){return myArray;})();} ``` ## --seed-contents-- ```js // Only change code below this line const myArray = []; ``` # --solutions-- ```js const myArray = [[1, 2, 3]]; ```