JavaScript 의 변수형을 알아내는 데는 일반적으로 typeof 를 사용한다. ... new Date(); if (typeof date === 'object' && date instanceof Date) ...
確定! 回上一頁