Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
러닝 타입스크립트
by
조시 골드버그
,
고승원
January 2023
Beginner to intermediate
372 pages
8h 47m
Korean
Hanbit Media, Inc.
Content preview from
러닝 타입스크립트
121
6
장
배열
6.1.4
6.1.4
다차원
다차원
배열
배열
2
차원 배열 또는 배열의 배열은 두 개의
[]
(
대괄호
)
를 갖습니다.
let arrayOfArraysOfNumbers: number[][];
arrayOfArraysOfNumbers = [
[1, 2, 3],
[2, 4, 6],
[3, 6, 9],
];
3
차원 배열 또는 배열의 배열의 배열에는 세 개의
[]
가 있고
4
차원 배열에는 네 개의
[]
가 있
습니다. 그럼
6
차원 배열이나 그 이상의 배열에는 몇 개의
[]
가 필요한지 예측할 수 있습니다.
이러한 다차원 배열 타입은 배열 타입에 새로운 개념을 도입한 게 아닙니다. 즉,
2
차원 배열은
원래의 타입을 가지며 끝에
[]
가 있고, 그 뒤에
[]
를 추가한다고 생각하면 쉽습니다.
다음
arrayOfArraysOfNumbers
배열은
number
[][]
타입이고
(
number
[]
)
[]
로 나타낼 수
있습니다.
// 타입: number[][]
let arrayOfArraysOfNumbers: (number[])[];
6.2
배열 멤버
배열 멤버
타입스크립트는 배열의 멤버를 찾아서 해당 배열의 타입 요소를 되돌려주는 전형적인 인덱스
기반 접근 방식을 이해하는 언어입니다.
다음
defenders
배열은
string
[]
타입이므로
defender
는
string
타입입니다.
const ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial
You might also like
이펙티브 타입스크립트
Dan Vanderkam
견고한 데이터 엔지니어링
조 라이스, 맷 하우슬리
파이썬으로 살펴보는 아키텍처 패턴
오현석, 해리 퍼시벌, 밥 그레고리
개발자를 위한 머신러닝&딥러닝
로런스 모로니
Publisher Resources
ISBN: 9791169210638