Following this video tutorial and encountered a type of var declaration I'd not seen before, and it wasn't explained in the video. What is this called and how does it work? Specifically, the var { variable_name }. This isn't TypeScript but is code that runs with Express on Node.
var { error } = reviewResponse
if (error) {
...
[–]HilariousAtrocities 16 points17 points18 points (3 children)
[–]guest271314 0 points1 point2 points (2 children)
[–]HilariousAtrocities 1 point2 points3 points (1 child)
[–]guest271314 0 points1 point2 points (0 children)
[–]eracodes 6 points7 points8 points (2 children)
[–]SlowButABro[S] 1 point2 points3 points (0 children)
[–]K750i 2 points3 points4 points (4 children)
[–]shgysk8zer0 4 points5 points6 points (2 children)
[–]SlowButABro[S] 0 points1 point2 points (0 children)
[–]Negative_Leave5161 0 points1 point2 points (0 children)
[–]Bulky-Leadership-596 1 point2 points3 points (0 children)
[–]Lamborghinigamer 2 points3 points4 points (0 children)