728x90
반응형
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/hasOwn
Object.hasOwn() - JavaScript | MDN
The Object.hasOwn() static method returns true if the specified object has the indicated property as its own property. If the property is inherited, or does not exist, the method returns false.
developer.mozilla.org
728x90
반응형
'Front > JS & jQuery' 카테고리의 다른 글
[js] .checked (0) | 2024.01.03 |
---|---|
[js] 숫자만 입력받기 정규식 (1) | 2024.01.02 |
[jQuery][datatables] datetime (0) | 2023.12.30 |
[js] 사업자등록번호, 주민등록번호, 법인등록번호 자리수 체크 (0) | 2023.12.24 |
[js] 배열에 특정값이 포함되어있는지 확인하기 (0) | 2023.12.16 |