[JavaScript] Prototype

cho yunsu·2021년 8월 31일

Prototype-based programming is a style of object-oriented programming in which behaviour reuse (known as inheritance) is performed via a process of reusing existing objects that serve as prototypes. This model can also be known as prototypal, prototype-oriented, classless, or instance-based programming.

프로토타입이란 ? 상속을 위해 쓰이는 언어... 이미 존재하는 오브젝트기반..
1. 코드를 재사용하기위해 만들어진 놈.
2. 객제지향 중 상속을 하기 위해 만들어진 놈.

profile
Growing Developer!!

0개의 댓글