Author: https://t.me/ahillary
Channel: https://t.me/semolina_code_python
Chat: https://t.me/python_with_ahillary
YouTube: https://www.youtube.com/@semolinacode
Coding training: https://t.me/how_to_code_web3
Prop trading: https://t.me/semolina_prop
Операторы нулевого слияния и присваивания: '??', '??='
??
Оператор ??
называется "оператор нулевого слияния" (nullish coalescing operator).
Он возвращает правый операнд, если левый равен null
или undefined
.