Destructuring with default values

Run Settings
LanguageJavaScript
Language Version
Run Command
const someObj = { data: { id: 1 }, toggleLikeToMemo: false }; const { data: { id = '' }, toggleLikeToMemo } = someObj; console.log(id, toggleLikeToMemo);
Editor Settings
Theme
Key bindings
Full width
Lines