JavaScript_node, call
07 Jul 2023테킷 멋쟁이사자처럼 JavaScript
Node: nodeType property
- Node.ELEMENT_NODE (1)
- An Element node like <p> or <div>.
- Node.ATTRIBUTE_NODE (2)
- An Attribute of an Element.
- Node.TEXT_NODE (3)
- The actual Text inside an Element or Attr.
- Node.COMMENT_NODE (8)
- A Comment node, such as .
while과 for 반복문
- call
Object.prototype.hasOwnProperty.call(javaScript, key);
Function.prototype.bind();
Array.prototype.finc();
String.prototype.toUpperCase();
자료형마다 가지고 있는 능력이 있음
자료형이 다른데 그 능력을 가져다 쓰기 위해 call 사용