ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

JavaScript Tips — The optional chaining call operator

Автор: Code 2020

Загружено: 2022-10-17

Просмотров: 217

Описание: The optional chaining call operator lets you safely call a function or method that may be null or undefined. You write it with ?. before the parentheses of a function call, for example:

myFunc?.(arg1, arg2, ...)

Here The function call is only made if the value on the lefthand side (myFunc) is not null or undefined. If the lefthand side value is null or undefined, the function call is skipped and the entire expression evaluates to null or undefined.

This is more concise than using an if-statement or ternary operator for this

#javascript

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
JavaScript Tips — The optional chaining call operator

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]