[240130] 코드리뷰 받으면서 배운 것
코드 리뷰 받으면서 배운 것
-
null 또는 undefined를 처리해야 할 때는 대신 ??(Nullish Coalescing Operator) 사용 ( 는 null / undefined 외에도 0이나 ‘‘도 false 처리를 한다.)
null 또는 undefined를 처리해야 할 때는 | 대신 ??(Nullish Coalescing Operator) 사용 | |
( | 는 null / undefined 외에도 0이나 ‘‘도 false 처리를 한다.) |
Leave a comment