オプショナルチェーン
console.log(meeting1.url.length); // errorif (meeting1.url !== null && meeting1.url !== undefined) {
console.log(meeting1.url.length);
}...
url: "https://sample.com",
};
console.log(meeting1.url?.length); // undefinedLast updated
console.log(meeting1.url.length); // errorif (meeting1.url !== null && meeting1.url !== undefined) {
console.log(meeting1.url.length);
}...
url: "https://sample.com",
};
console.log(meeting1.url?.length); // undefinedLast updated