1
ola, I have a doubt a little amateur I’m starting with Node.js and through my learning I came across a situation and I would like to understand, in one of the codes I researched I found a variable declared the name between keys as the example below
const { home } = app.controllers;
I already know how this function works but I would like to understand what use the keys {} because when I take them the code has error what is the difference between
const { home } = app.controllers;
and const home = app.controllers;
What is ES6 specification?
– NoobSaibot