check instance of object is true code example Example: js class check if new instance new Date() instanceof Date; // => true