This is a feature called destructuring assignment, which was added in JavaScript 1.7 and ECMAScript 6. It is not a part of ECMAScript 5: What is cross browser support for JavaScript 1.7’s new features? Specifically array comprehensions and the “let” statement
Related Contents:
- Detect left mouse button press
- How to launch html using Chrome at “–allow-file-access-from-files” mode?
- Cannot open local file – Chrome: Not allowed to load local resource
- Uncaught SyntaxError: Unexpected token :
- Detecting the onload event of a window opened with window.open
- How to wait until an element exists?
- new Date() is working in Chrome but not Firefox
- window.onbeforeunload ajax request in Chrome
- Breakpoint on property change
- Console.log showing only the updated version of the object printed
- How to simulate key presses or a click with JavaScript?
- How to read from Chrome’s console in JavaScript
- Chrome Extension: Port error: Could not establish connection. Receiving end does not exist.
- How to disable JavaScript in Chrome Developer Tools?
- require is not defined? Node.js
- How to prevent “The play() request was interrupted by a call to pause()” error?
- Contexts and methods for communication between the browser action, background scripts, and content scripts of chrome extensions?
- Create a file using Javascript in Chrome on client side
- ES6 modules in local files – The server responded with a non-JavaScript MIME type
- Can’t trigger click with jQuery in a Chrome extension
- Making a Chrome Extension download a file
- How to use jQuery in chrome extension?
- Unexpected token ILLEGAL in webkit
- Unable to sign into google with selenium automation because of “This browser or app may not be secure.”
- getUserMedia() in chrome 47 without using https
- JavaScript: Is there a way to get Chrome to break on all errors?
- Editing in the Chrome debugger
- Upload File as a Form Data through chrome extension
- Why is document.body null in my javascript?
- Refused to execute inline event handler because it violates CSP. (SANDBOX)
- How to show full object in Chrome console
- “Status Code:200 OK (from ServiceWorker)” in Chrome Network DevTools?
- Chrome sets cursor to text while dragging, why?
- What’s the time complexity of array.splice() in Google Chrome?
- When using setInterval, if I switch tabs in Chrome and go back, the slider goes crazy catching up
- blocked a frame of origin “null” from accessing a cross-origin frame – chrome
- Inspecting WebSocket frames in an undetectable way
- Sending message to background script
- Link to chrome:// url from a webpage
- Bug with Chrome’s localStorage implementation?
- Function as Google Chrome bookmark
- Chrome javascript debugger breakpoints don’t do anything?
- Failed to load resource: net::ERR_CONTENT_LENGTH_MISMATCH
- Cannot use `document.execCommand(‘copy’);` from developer console
- Different property value is displayed when JavaScript object is expanded in Chrome console
- window.open behaviour in chrome tabs/windows
- Is it possible to change javascript variable values while debugging in Google Chrome?
- Accessing line number in V8 JavaScript (Chrome & Node.js)
- Service worker is caching files but fetch event is never fired
- Chrome Speech Synthesis with longer texts