# destructuring

Destructuring is a JavaScript syntax for unpacking array values or object properties into distinct variables.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## How to Master JavaScript Destructuring and Spread Syntax

DevFeed: [How to Master JavaScript Destructuring and Spread Syntax](<https://devfeed.tech/articles/how-to-master-javascript-destructuring-and-spread-syntax-119683.md>)

Original publisher: [Read original article](<https://jsdev.space/howto/javascript-destructuring/>)

Author: anton liberant

Published: 2026-11-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [JavaScript Development](<https://devfeed.tech/sources/javascript-development.md>)

Topics: [destructuring](<https://devfeed.tech/topics/destructuring.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Learning](<https://devfeed.tech/topics/learning.md>)

Tags: [destructuring](<https://devfeed.tech/tags/destructuring.md>), [examples](<https://devfeed.tech/tags/examples.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [pitfalls](<https://devfeed.tech/tags/pitfalls.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

JavaScript destructuring extracts values by array position or object property name; rest collects remaining values, and spread expands values into arrays, calls, or objects. The article shows how these features simplify named function options, defaults, and immutable updates. Key limits: destructuring defaults apply only to `undefined`, nested destructuring can fail when an intermediate value is missing, and spread makes shallow copies, so nested objects remain shared unless separately copied. `structuredClone()` recursively copies supported data, but cannot clone functions and has other unsupported values. For security-sensitive output, explicitly selecting allowed properties is safer than removing known secrets with object rest.

### Source excerpt

Learn JavaScript destructuring, rest parameters, and spread syntax with practical examples, safer defaults, shallow copying, and common pitfalls.

## CVE-2026-115895 - Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code execution

DevFeed: [CVE-2026-115895 - Happy DOM: Incomplete fix for CVE-2026-33943: unsanitized import alias leads to host code execution](<https://devfeed.tech/articles/cve-2026-115895-happy-dom-incomplete-fix-for-cve-2026-33943-unsanitized-import-alias-leads-to-host-code-execution-98525.md>)

Original publisher: [Read original article](<https://cvefeed.io/vuln/detail/CVE-2026-115895>)

Author: CVEFEED.io; github.com

Published: 2026-10-23T22:16:58Z

Content type: news

Language: en

Sources: [Latest High/Critical Vulnerabilitiy Feed](<https://devfeed.tech/sources/latest-high-critical-vulnerabilitiy-feed.md>)

Topics: [import](<https://devfeed.tech/topics/import.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [capricorn86](<https://devfeed.tech/tags/capricorn86.md>), [code-execution](<https://devfeed.tech/tags/code-execution.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [cve-2026-115895](<https://devfeed.tech/tags/cve-2026-115895.md>), [esm](<https://devfeed.tech/tags/esm.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [function](<https://devfeed.tech/tags/function.md>), [happy-dom](<https://devfeed.tech/tags/happy-dom.md>), [html](<https://devfeed.tech/tags/html.md>), [identifier](<https://devfeed.tech/tags/identifier.md>), [import](<https://devfeed.tech/tags/import.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [json](<https://devfeed.tech/tags/json.md>), [malicious](<https://devfeed.tech/tags/malicious.md>), [module](<https://devfeed.tech/tags/module.md>), [node-js](<https://devfeed.tech/tags/node-js.md>), [process](<https://devfeed.tech/tags/process.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Happy DOM versions 17.0.0 through 21.0.3 have a residual code-execution flaw in ECMAScriptModuleCompiler: named ESM import aliases are inserted into generated destructuring bindings without checking that they are valid JavaScript binding identifiers. When JavaScript evaluation is enabled, attacker-controlled HTML or module source can exploit an invalid alias that compiles into a valid default initializer to execute code in the Node.js host process. The demonstrated path uses a JSON module import attribute to keep the generated function syntactically valid through circular-import handling. The earlier CVE-2026-33943 fix validated a different import-name path and missed this alias. The issue is fixed in version 21.0.4.

### Source excerpt

CVE ID :CVE-2026-115895 Published : Oct. 23, 2026, 10:16 p.m. | 1 hour, 38 minutes ago Description :Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. From 17.0.0 until 21.0.4, packages/happy-dom/src/module/ECMAScriptModuleCompiler.ts accepts a named ESM import alias without validating that it is a JavaScript binding identifier before inserting it into a generated destructuring binding. With enableJavaScriptEvaluation enabled, attacker-controlled HTML or module source can use an invalid alias that becomes a valid default initializer after compilation, causing the generated JavaScript to execute in the Node.js host process. The demonstrated reachable path uses a JSON module import attribute, which prevents the malicious alias from being emitted again in a later ESM circular-import assignment and keeps the generated function syntactically valid. This incomplete fix for CVE-2026-33943 is a distinct residual path because the earlier remediation validated the local export importName path but not the named-import alias. This issue is fixed in version 21.0.4. Severity: 8.8 | HIGH Visit the link for more details, such as CVSS details, affected products, timeline, and more...

## JavaScript Reserved Words: The Complete List of Keywords

DevFeed: [JavaScript Reserved Words: The Complete List of Keywords](<https://devfeed.tech/articles/javascript-reserved-words-the-complete-list-of-keywords-90969.md>)

Original publisher: [Read original article](<https://markodenic.com/javascript-reserved-words/>)

Author: Marko

Published: 2026-10-20T09:00:00Z

Content type: article

Language: en

Sources: [Marko Denic Blog](<https://devfeed.tech/sources/marko-denic-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [api](<https://devfeed.tech/tags/api.md>), [arguments](<https://devfeed.tech/tags/arguments.md>), [async](<https://devfeed.tech/tags/async.md>), [await](<https://devfeed.tech/tags/await.md>), [boolean](<https://devfeed.tech/tags/boolean.md>), [browser](<https://devfeed.tech/tags/browser.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [class](<https://devfeed.tech/tags/class.md>), [classes](<https://devfeed.tech/tags/classes.md>), [complete](<https://devfeed.tech/tags/complete.md>), [context](<https://devfeed.tech/tags/context.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [enum](<https://devfeed.tech/tags/enum.md>), [errors](<https://devfeed.tech/tags/errors.md>), [es](<https://devfeed.tech/tags/es.md>), [eval](<https://devfeed.tech/tags/eval.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [list](<https://devfeed.tech/tags/list.md>), [modules](<https://devfeed.tech/tags/modules.md>), [tutorial](<https://devfeed.tech/tags/tutorial.md>)

### AI overview

JavaScript reserved words cannot be used as variable, function, class, or parameter names; using one causes a syntax error that prevents the script from running. The applicable restrictions vary by context: strict mode, modules, async functions, and generators reserve additional words, while contextual keywords such as `as`, `get`, and `of` remain valid names elsewhere. Reserved words are valid as object keys and property names, and destructuring or imports can rename such keys for use as identifiers. The text also distinguishes truly reserved words from risky but legal names such as `undefined` and browser globals, and from older Java-style words that modern JavaScript no longer reserves.

### Source excerpt

The full list of JavaScript reserved words and keywords, the extra ones reserved in strict mode and modules, words that are only special in context, and the errors you get when you use them as names.

## Clojure 1.13.0-alpha8

DevFeed: [Clojure 1.13.0-alpha8](<https://devfeed.tech/articles/clojure-1-13-0-alpha8-62483.md>)

Original publisher: [Read original article](<https://clojure.org/news/2026/09/30/clojure-1-13-alpha8>)

Published: 2026-09-30T00:00:00Z

Content type: release

Language: en

Sources: [Clojure News](<https://devfeed.tech/sources/clojure-news.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [ClojureScript](<https://devfeed.tech/topics/clojurescript.md>)

Tags: [clojure](<https://devfeed.tech/tags/clojure.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [inlining](<https://devfeed.tech/tags/inlining.md>), [java](<https://devfeed.tech/tags/java.md>), [jvm](<https://devfeed.tech/tags/jvm.md>), [make](<https://devfeed.tech/tags/make.md>), [merge](<https://devfeed.tech/tags/merge.md>), [miller](<https://devfeed.tech/tags/miller.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [nesting](<https://devfeed.tech/tags/nesting.md>), [performance](<https://devfeed.tech/tags/performance.md>), [programming](<https://devfeed.tech/tags/programming.md>), [september-2026](<https://devfeed.tech/tags/september-2026.md>)

### AI overview

Clojure 1.13.0-alpha8 introduces a selector macro that turns a map destructuring form into a function for selecting values from maps. The release also includes transient map performance improvements and other fixes.

### Source excerpt

Clojure 1.13.0-alpha8 is now available! Find download and usage information on the Downloads page. Selectors A developer may need to apply the same key-selection logic embedded in a map destructuring form (as directives, :keys!/:syms!/:strs!/etc., nesting, etc.) against multiple maps, or want to hand that selection logic to another part of the program. Currently that logic is oriented around binding in destructuring and not for programmatic use. This release adds a new selector macro that takes a destructuring form and returns a function that can be applied to maps: (selector [m]) Builds a selecting-fn from m, a map destructuring form that must include one or more of the :select, :all, :missing, and :excess directives. The return function takes a collection, destructures it per m, and returns a map of the result(s). If m has exactly one directive, the result is the value that directive would yield. If m has more than one directive, then it returns a map of directives to values. As in destructuring, :missing controls whether missing required keys throw or are collected. While a map destructuring form may and sometimes must include bindings, selector doesn't produce bindings, thus ignoring the associated directive names. Throws an exception if the argument is not a map. CLJ-2979 selector Transient map performance This release contains many performance improvements around the use of maps, particularly transient maps, and functions like into, merge, and merge-with. Transient array maps now grow larger before transitioning to transient hash maps (similar to recent persistent array map changes), and can be loaded significantly faster. The increased use of persistent and transient array maps will also make many more call sites inside the Clojure runtime monomorphic, encouraging greater JVM inlining. For more info see CLJ-2980. Improvements and bug fixes CLJ-2939 QualifiedMethodExpr field overload does not propagate field type - fixed CLJ-1468 merge-deep, merge-deep-with -

## Clojure 1.13.0-alpha7

DevFeed: [Clojure 1.13.0-alpha7](<https://devfeed.tech/articles/clojure-1-13-0-alpha7-49804.md>)

Original publisher: [Read original article](<https://clojure.org/news/2026/09/15/clojure-1-13-alpha7>)

Published: 2026-09-15T00:00:00Z

Content type: release

Language: en

Sources: [Clojure News](<https://devfeed.tech/sources/clojure-news.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [data](<https://devfeed.tech/topics/data.md>)

Tags: [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [data](<https://devfeed.tech/tags/data.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [implementation](<https://devfeed.tech/tags/implementation.md>), [improvements](<https://devfeed.tech/tags/improvements.md>), [programming](<https://devfeed.tech/tags/programming.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Clojure 1.13.0-alpha7 adds destructuring directives for collecting missing and excess keys from nested maps, along with bug fixes and improvements to functions including transform-keys, tap->, and select-keys.

### Source excerpt

Clojure 1.13.0-alpha7 is now available! Find download and usage information on the Downloads page. Destructuring additions To gracefully handle missing information programmatically at runtime, use the :missing directive, which binds a name to a map of keys->nil that were named in checked keys directives but not found in the input map, traversing deeply through nested maps. This toggles the default behavior of :keys!/:syms!/:strs! from throwing to collecting into the named map. CLJ-2976 If there's more data than you intend to process you may want to convey it, e.g. by reintegrating it with your transformed input for passing downstream. Use the :excess directive to bind a name to a map of all keys in the input map that do not correspond to keys listed in the destructuring form, traversing deeply through nested maps. CLJ-2975 Bug fixes CLJ-2883 Reflector.getMethods() incorrectly returned bridge methods with covariant return type, making calls reflective CLJ-2930 bigdec - coerce from Number may lose decimal Improvements and additions CLJ-1899 transform-keys - deep-walk a map and transform all keys CLJ-2538 tap-> - add tap> variant that returns the value CLJ-2970 select-keys - implementation change to unify argument requirements across functions used in destructuring: get, req!, and select-keys Try it out Update your deps.edn :deps with: org.clojure/clojure {:mvn/version "1.13.0-alpha7"} Start a REPL with the Clojure CLI (any version) with: clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha7"}}}

## Clojure 1.13.0-alpha6

DevFeed: [Clojure 1.13.0-alpha6](<https://devfeed.tech/articles/clojure-1-13-0-alpha6-49801.md>)

Original publisher: [Read original article](<https://clojure.org/news/2026/07/28/clojure-1-13-alpha6>)

Published: 2026-07-28T00:00:00Z

Content type: release

Language: en

Sources: [Clojure News](<https://devfeed.tech/sources/clojure-news.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [version](<https://devfeed.tech/topics/version.md>), [test](<https://devfeed.tech/topics/test.md>)

Tags: [changes](<https://devfeed.tech/tags/changes.md>), [cli](<https://devfeed.tech/tags/cli.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [download](<https://devfeed.tech/tags/download.md>), [downloads](<https://devfeed.tech/tags/downloads.md>), [org](<https://devfeed.tech/tags/org.md>), [programming](<https://devfeed.tech/tags/programming.md>), [repl](<https://devfeed.tech/tags/repl.md>), [test](<https://devfeed.tech/tags/test.md>), [update](<https://devfeed.tech/tags/update.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Clojure 1.13.0-alpha6 is available with additions and changes to destructuring, including deep traversal of nested maps, default augmentation, and new directives. The release also reports errors for unbound or unreferenced keys in certain constructs and includes destructuring test cleanup.

### Source excerpt

Clojure 1.13.0-alpha6 is now available! Find download and usage information on the Downloads page. Destructuring additions and changes To get a map of all keys in the input, augmented by the defaults, traversing deeply through nested maps, use the :all directive. Report as errors any use of unbound/unreferenced keys in :or when using any of the new constructs (:defaults, :select et al) CLJ-2972 Destructuring test clean up for :or entries Try it out Update your deps.edn :deps with: org.clojure/clojure {:mvn/version "1.13.0-alpha6"} Start a REPL with the Clojure CLI (any version) with: clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha6"}}}

## Clojure 1.13.0-alpha5

DevFeed: [Clojure 1.13.0-alpha5](<https://devfeed.tech/articles/clojure-1-13-0-alpha5-49800.md>)

Original publisher: [Read original article](<https://clojure.org/news/2026/07/21/clojure-1-13-alpha5>)

Published: 2026-07-21T00:00:00Z

Content type: release

Language: en

Sources: [Clojure News](<https://devfeed.tech/sources/clojure-news.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [Java](<https://devfeed.tech/topics/java.md>), [version](<https://devfeed.tech/topics/version.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [class](<https://devfeed.tech/topics/class.md>)

Tags: [alpha](<https://devfeed.tech/tags/alpha.md>), [bytecode](<https://devfeed.tech/tags/bytecode.md>), [cli](<https://devfeed.tech/tags/cli.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [java](<https://devfeed.tech/tags/java.md>), [java-17](<https://devfeed.tech/tags/java-17.md>), [programming](<https://devfeed.tech/tags/programming.md>), [release](<https://devfeed.tech/tags/release.md>), [repl](<https://devfeed.tech/tags/repl.md>), [tests](<https://devfeed.tech/tags/tests.md>)

### AI overview

Clojure 1.13.0-alpha5 is available as an alpha release. It requires Java 17, compiles to Java 17 bytecode, updates ASM and Javadoc support, removes use of Java's security manager, and includes fixes and changes to destructuring, tests, and the REPL.

### Source excerpt

Clojure 1.13.0-alpha5 is now available! Find download and usage information on the Downloads page. Java 17 baseline As of this release, Clojure requires a minimum Java 17 runtime and compiles to Java 17 bytecode. CLJ-2872 Move to new ASM and emit Java 17 bytecode CLJ-2383 Add new java.lang classes to automatic imports CLJ-2892 Remove uses of Java's security manager, which is going away CLJ-2920 Javadoc support updated for Java 17+ Other changes since last alpha CLJ-2968 Qualified :keys bindings in destructuring can only be unqualified symbols (regression fix) CLJ-2969 Add :select base cases to tests CLJ-2897 prepl is missing DynamicClassLoader and *repl\* binding from repl Try it out Update your deps.edn :deps with: org.clojure/clojure {:mvn/version "1.13.0-alpha5"} Start a REPL with the Clojure CLI (any version) with: clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha5"}}}

## Clojure 1.13.0-alpha4

DevFeed: [Clojure 1.13.0-alpha4](<https://devfeed.tech/articles/clojure-1-13-0-alpha4-49799.md>)

Original publisher: [Read original article](<https://clojure.org/news/2026/07/14/clojure-1-13-alpha4>)

Published: 2026-07-14T00:00:00Z

Content type: release

Language: en

Sources: [Clojure News](<https://devfeed.tech/sources/clojure-news.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [version](<https://devfeed.tech/topics/version.md>)

Tags: [addition](<https://devfeed.tech/tags/addition.md>), [cli](<https://devfeed.tech/tags/cli.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [download](<https://devfeed.tech/tags/download.md>), [error](<https://devfeed.tech/tags/error.md>), [introduced](<https://devfeed.tech/tags/introduced.md>), [nested-maps](<https://devfeed.tech/tags/nested-maps.md>), [programming](<https://devfeed.tech/tags/programming.md>), [repl](<https://devfeed.tech/tags/repl.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Clojure 1.13.0-alpha4 introduces changes to map destructuring syntax, including revised key handling, key-to-value mappings, a new :defaults directive, and deeper :select behavior for nested maps. The release also includes changes to nil-value filtering and exception categorization.

### Source excerpt

Clojure 1.13.0-alpha4 is now available! Find download and usage information on the Downloads page. Destructuring changes and additions Idents after & in :keys!/syms!/strs!/:keys/syms/strs must now be actual keys, not binding symbols. This is a change in syntax since alpha3. Note that symbol keys should be quoted as unadorned symbols are binding symbols. :or now accepts key->val mappings in addition to binding->val. Added a new :defaults name directive at top level to bind name to a map of defaults, key->val. Binding symbols in the :or map are transformed to the key value in the :defaults map. :defaults without :or is an error. :select name, introduced in alpha3, now selects deeply, through nested maps, and fills in values for missing keys from :or. The :select map contains all keys mentioned anywhere in the binding form. CLJ-2964 :select directive in map destructuring CLJ-2966 :defaults directive in map destructuring CLJ-2967 tests for nested destructuring Other changes since Clojure 1.13.0-alpha3 Added clojure.core/some-vals, a predicative filter of nil map values CLJ-2870 Exception phase during top-level eval is miscategorized Try it out Update your deps.edn :deps with: org.clojure/clojure {:mvn/version "1.13.0-alpha4"} Start a REPL with the Clojure CLI (any version) with: clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha4"}}}

## Clojure 1.13.0-alpha3

DevFeed: [Clojure 1.13.0-alpha3](<https://devfeed.tech/articles/clojure-1-13-0-alpha3-49798.md>)

Original publisher: [Read original article](<https://clojure.org/news/2026/07/07/clojure-1-13-alpha3>)

Published: 2026-07-07T00:00:00Z

Content type: release

Language: en

Sources: [Clojure News](<https://devfeed.tech/sources/clojure-news.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [version](<https://devfeed.tech/topics/version.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [changes](<https://devfeed.tech/tags/changes.md>), [cli](<https://devfeed.tech/tags/cli.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [documentation](<https://devfeed.tech/tags/documentation.md>), [download](<https://devfeed.tech/tags/download.md>), [performance](<https://devfeed.tech/tags/performance.md>), [programming](<https://devfeed.tech/tags/programming.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Clojure 1.13.0-alpha3 is available with a new :select directive for map destructuring, updated specifications, performance improvements, bug fixes, and documentation corrections. The release can be tried through deps.edn or the Clojure CLI.

### Source excerpt

Clojure 1.13.0-alpha3 is now available! Find download and usage information on the Downloads page. :select directive in map destructuring The :select directive binds a name to a subset of the map being destructured containing only the keys mentioned (anywhere) in the binding form. CLJ-2964 :select directive in map destructuring CLJ-2963 Update specs for :select in destructuring Other changes since Clojure 1.13.0-alpha2 RT.map, and thus reader, tracks new PAM thresholds CLJ-1789 select-keys - improve performance (transients, etc) CLJ-2958 ILookup on sets CLJ-2902 pprint - prints arbitary objects in unreadable form CLJ-2801 TaggedLiteral - doesn't define print-dup CLJ-2269 definterface - does not resolve parameter type hints CLJ-2781 clojure.test/report - docstring has broken references CLJ-2929 zipper - docstring typo CLJ-2901 bytes, shorts, chars - docstring typos CLJ-2811 scalb - docstring links to the documentation for nextDown CLJ-2809 clojure.math/floor - docstring has line that should be on ceil docstring Try it out Update your deps.edn :deps with: org.clojure/clojure {:mvn/version "1.13.0-alpha3"} Start a REPL with the Clojure CLI (any version) with: clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha3"}}}

## Clojure 1.13.0-alpha1

DevFeed: [Clojure 1.13.0-alpha1](<https://devfeed.tech/articles/clojure-1-13-0-alpha1-49796.md>)

Original publisher: [Read original article](<https://clojure.org/news/2026/07/02/clojure-1-13-alpha1>)

Published: 2026-07-02T00:00:00Z

Content type: release

Language: en

Sources: [Clojure News](<https://devfeed.tech/sources/clojure-news.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [Optimization](<https://devfeed.tech/topics/optimization.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [cli](<https://devfeed.tech/tags/cli.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [java](<https://devfeed.tech/tags/java.md>), [optimize](<https://devfeed.tech/tags/optimize.md>), [programming](<https://devfeed.tech/tags/programming.md>), [test](<https://devfeed.tech/tags/test.md>), [version](<https://devfeed.tech/tags/version.md>)

### AI overview

Clojure 1.13.0-alpha1 introduces checked map-destructuring variants that report missing keys, supports documenting or checking keys after &, expands the size range for PersistentArrayMaps, improves related optimization behavior, and updates runtime and test dependencies. The release also includes Java bytecode preparation changes and provides dependency and REPL instructions for trying the alpha.

### Source excerpt

Clojure 1.13.0-alpha1 is now available! Find download and usage information on the Downloads page. Checked keys You can now ensure that required keys are bound during map destructuring by using the new checked variants of the :keys/:syms/:strs directives - :keys!/:syms!/:strs!, which will throw if the key is not present. You can also, in all directives, specify keys after & which will not be bound, for documentation or checking purposes. CLJ-2961 Checked keys CLJ-2960 Specs for checked keys CLJ-2949 req! - Variant of get that reports on key not found CLJ-2954 let/loop/let* - disallow & as local binding Other changes since Clojure 1.12.5 PersistentArrayMaps of only keyword keys now grow up to size 64 (previously was 8) before transitioning to PersistentHashMaps. PAM identity scans are more efficient than PHM lookups in this range, also makes more usage sites monomorphic and thus easier to optimize. CLJ-2891 Remove ACC_FINAL designation from static initializer constants. This change was made as a prepatory step towards moving the Java bytecode baseline to address new verifier checks. Runtime and test dependencies updated to latest versions Try it out Update your deps.edn :deps with: org.clojure/clojure {:mvn/version "1.13.0-alpha1"} Start a REPL with the Clojure CLI (any version) with: clj -Sdeps '{:deps {org.clojure/clojure {:mvn/version "1.13.0-alpha1"}}}

## Beyond Positions: Kotlin's New Name-Based Destructuring

DevFeed: [Beyond Positions: Kotlin's New Name-Based Destructuring](<https://devfeed.tech/articles/beyond-positions-kotlin-s-new-name-based-destructuring-25979.md>)

Original publisher: [Read original article](<https://proandroiddev.com/beyond-positions-kotlins-new-name-based-destructuring-eee347d1bb5c?source=rss-711ab22c5c77------2>)

Author: Nav Singh

Published: 2026-03-18T01:24:50Z

Content type: article

Language: en

Sources: [Nav Singh](<https://devfeed.tech/sources/stories-by-nav-singh-on-medium.md>)

Topics: [destructuring](<https://devfeed.tech/topics/destructuring.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [android-app-development](<https://devfeed.tech/tags/android-app-development.md>), [androiddev](<https://devfeed.tech/tags/androiddev.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlin-native](<https://devfeed.tech/tags/kotlin-native.md>), [name](<https://devfeed.tech/tags/name.md>)

### AI overview

Kotlin 2.3.20 introduces experimental name-based destructuring, which binds each declared variable to a property with the same name instead of relying on the order of componentN() functions. The excerpt illustrates how position-based destructuring can assign values unexpectedly when variable order differs from property order. The compiler option -Xname-based-destructuring controls interpretation; the example enables only-syntax mode. The excerpt also shows square brackets for position-based destructuring in Complete mode, but does not explain the Name-Mismatch mode.

### Source excerpt

Image generated using Perplexity Name-based destructuring declarations were introduced in Kotlin 2.3.20 and match variables to properties rather than relying on position-based componentN(). Previously, destructive declarations used position-based destruction: data class User(var firstName: String, var lastName: String) val user = User("Alice", "Husseini") // componentN() val(firstName,lastName) = user println(firstName) println(lastName)Drawback of the componentN() based approach Destructuring relies on the order of componentN() functions, lastName receives the value of firstName, and firstName receives the value of lastName 👇 data class User(var firstName: String, var lastName: String) val user = User("Alice", "Husseini") // componentN() val(lastName,firstName) = user println(firstName) -> Husseini println(lastName) -> AliceName-based destructuring ✨ It's an Experimental feature. We can control how the compiler interprets destructuring declarations with the -Xname-based-destructuring compiler option. kotlin { // .. compilerOptions { freeCompilerArgs.add("-Xname-based-destructuring=only-syntax") } }Each variable refers to a property by name.val user = User("Alice", "Husseini") // Name-based destructuring (val firstName = firstName, val lastName = lastName) = userModeshttps://kotlinlang.org/docs/whatsnew2320.html#languageMode -- Name-Mismatch⚠ Warning ⚠Name-Mismatch warningMode -- Complete Position-based destructuring using square brackets []: data class User(var firstName: String, var lastName: String) val user = User("Alice", "Husseini") // componentN() val [firstName,lastName] = userReferences What's new in Kotlin 2.3.20 | Kotlin Stay in touch https://www.linkedin.com/in/navczydev/ JavaScript is not available. navczydev - Overview navczydev.bsky.social Beyond Positions: Kotlin's New Name-Based Destructuring was originally published in ProAndroidDev on Medium, where people are continuing the conversation by highlighting and responding to this story.

## KotlinConf 2025 Announcements

DevFeed: [KotlinConf 2025 Announcements](<https://devfeed.tech/articles/kotlinconf-2025-announcements-39349.md>)

Original publisher: [Read original article](<https://kt.academy/article/kotlinconf2025-announcements>)

Published: 2025-06-03T00:00:00Z

Content type: article

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [Exception](<https://devfeed.tech/topics/exception.md>), [union types](<https://devfeed.tech/topics/union-types.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [Safe-Call Operator](<https://devfeed.tech/topics/safe-call-operator.md>)

Tags: [announcements](<https://devfeed.tech/tags/announcements.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [exceptions](<https://devfeed.tech/tags/exceptions.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [kotlinconf](<https://devfeed.tech/tags/kotlinconf.md>), [new-features](<https://devfeed.tech/tags/new-features.md>), [safe-call-operator](<https://devfeed.tech/tags/safe-call-operator.md>), [syntax](<https://devfeed.tech/tags/syntax.md>), [union-types](<https://devfeed.tech/tags/union-types.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

The article summarizes announcements from KotlinConf 2025, including K2 becoming stable, upcoming name-based destructuring, and rich errors with language-level support for result-or-error types and related operators.

### Source excerpt

The greatest announcements from KotlinConf 2025.

## Lambda expressions

DevFeed: [Lambda expressions](<https://devfeed.tech/articles/lambda-expressions-39305.md>)

Original publisher: [Read original article](<https://kt.academy/article/fk-lambda-expressions>)

Published: 2022-08-26T00:03:00Z

Content type: tutorial

Language: en

Sources: [Kt. Academy](<https://devfeed.tech/sources/kt-academy.md>)

Topics: [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [Functional programming](<https://devfeed.tech/topics/functional-programming.md>), [Programming](<https://devfeed.tech/topics/programming.md>), [function](<https://devfeed.tech/topics/function.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>)

Tags: [destructuring](<https://devfeed.tech/tags/destructuring.md>), [example](<https://devfeed.tech/tags/example.md>), [functional-programming](<https://devfeed.tech/tags/functional-programming.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [intellij](<https://devfeed.tech/tags/intellij.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [lambda](<https://devfeed.tech/tags/lambda.md>), [learn](<https://devfeed.tech/tags/learn.md>), [workshop-learning-programming](<https://devfeed.tech/tags/workshop-learning-programming.md>)

### AI overview

A Kotlin tutorial explaining lambda expressions as function literals, including their syntax, parameters, trailing-lambda convention, destructuring, and common problems caused by braces or uninvoked lambdas.

### Source excerpt

Let's learn how to use lambda expressions, what special support they have, and what traps they generate.

## Clojure 1.11.0 release

DevFeed: [Clojure 1.11.0 release](<https://devfeed.tech/articles/clojure-1-11-0-release-49554.md>)

Original publisher: [Read original article](<https://clojure.org/news/2022/03/22/clojure-1-11-0>)

Published: 2022-03-22T00:00:00Z

Content type: release

Language: en

Sources: [Clojure News](<https://devfeed.tech/sources/clojure-news.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [changelog](<https://devfeed.tech/topics/changelog.md>), [function](<https://devfeed.tech/topics/function.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [syntax](<https://devfeed.tech/topics/syntax.md>), [Mathematics](<https://devfeed.tech/topics/mathematics.md>), [Java](<https://devfeed.tech/topics/java.md>)

Tags: [bug-fixes](<https://devfeed.tech/tags/bug-fixes.md>), [changelog](<https://devfeed.tech/tags/changelog.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [iteration](<https://devfeed.tech/tags/iteration.md>), [math](<https://devfeed.tech/tags/math.md>), [programming](<https://devfeed.tech/tags/programming.md>), [release](<https://devfeed.tech/tags/release.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

Clojure 1.11 adds keyword-argument invocation support, namespace aliasing without loading, a new clojure.math namespace, and additional core functions, bug fixes, and enhancements.

### Source excerpt

Clojure 1.11 provides new syntax for keyword argument invocation, namespace aliasing without loading, a new clojure.math namespace, and many additional bug fixes and enhancements. Keyword arguments are optional trailing variadic arguments of the form (f akey aval bkey bval ...). Invoking functions with keyword arguments is convenient for people to write, but keyword args are not collections so they are hard to flow between functions. In Clojure 1.11, functions taking keyword arguments can now be passed a trailing map instead of or in addition to and following the key/value pairs. When a lone map is passed, it is used for destructuring, else the trailing map is added to the key/value pair map by conj. This change makes keyword arg functions more convenient for programmatic use. Spec (and other libs) rely on qualified keywords as spec names. Namespace aliasing in ns makes long names shorter but required namespaces to exist and be loaded. In Clojure 1.11, require adds a new option :as-alias, which is like :as but does not require the namespace to exist or load. The JDK package java.lang.Math provides access to many useful math functions. Clojure previously relied on using these via interop, but this had issues with discoverability, primitive performance, higher order application, and portability. The new clojure.math namespace provides wrapper functions for the methods available in java.lang.Math for long and double overloads with fast primitive invocation. Additionally, a number of functions have been added to clojure.core: abs NaN? infinite? parse-double parse-long parse-boolean parse-uuid random-uuid update-keys update-vals and iteration. Detailed changelog See the change log for a complete list of all changes in Clojure 1.11.0. Contributors Thanks to all the community members who contributed patches to Clojure 1.11: Alexander Yakushev Ambrose Bonnaire-Sergeant Arne Brasseur Ghadi Shayban Howard Lewis Ship Hugo Duncan Jonathan Johnston Keyhan Vakil Marc O'Morain Mich

## Keyword argument functions now also accept maps

DevFeed: [Keyword argument functions now also accept maps](<https://devfeed.tech/articles/keyword-argument-functions-now-also-accept-maps-49511.md>)

Original publisher: [Read original article](<https://clojure.org/news/2021/03/18/apis-serving-people-and-programs>)

Published: 2021-03-18T00:00:00Z

Content type: release

Language: en

Sources: [Clojure News](<https://devfeed.tech/sources/clojure-news.md>)

Topics: [Clojure](<https://devfeed.tech/topics/clojure.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [function](<https://devfeed.tech/topics/function.md>)

Tags: [apis](<https://devfeed.tech/tags/apis.md>), [clojure](<https://devfeed.tech/tags/clojure.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [function](<https://devfeed.tech/tags/function.md>), [functions](<https://devfeed.tech/tags/functions.md>), [programming](<https://devfeed.tech/tags/programming.md>), [take](<https://devfeed.tech/tags/take.md>), [values](<https://devfeed.tech/tags/values.md>), [vector](<https://devfeed.tech/tags/vector.md>)

### AI overview

Clojure 1.11 adds support for passing a single map, or a map combined with keyword argument pairs, to functions that accept keyword arguments. This lets APIs support both direct programmer use and programmatic map-based calls.

### Source excerpt

To date, Clojure's support for keyword arguments forces programmers to choose between creating APIs that better support people (accepting keyword args) or APIs that better support programs (by taking a map of those args). Introduced in Clojure 1.11, a function specified to take keyword arguments may be passed a single map instead of or in addition to (and following) the key/value pairs. When a lone map is passed, it is used outright for destructuring, else a trailing map is added to the map built from the preceding key/values via conj. For example, a function that takes a sequence of optional keyword arguments and returns a vector containing the values is defined as: (defn destr [& {:keys [a b] :as opts}] [a b opts]) (destr :a 1) ->[1 nil {:a 1}] (destr {:a 1 :b 2}) ->[1 2 {:a 1 :b 2}] In Clojure 1.11 the call to destr accepts a mixture of key/value pairs and/or a lone (or trailing) map benefitting both programmer and program. This enhancement is available now in org.clojure/clojure "1.11.0-alpha1".

## Calling JavaScript from TypeScript

DevFeed: [Calling JavaScript from TypeScript](<https://devfeed.tech/articles/calling-javascript-from-typescript-48182.md>)

Original publisher: [Read original article](<https://tkdodo.eu/blog/calling-java-script-from-type-script>)

Published: 2020-09-04T00:00:00Z

Content type: tutorial

Language: en

Sources: [TkDodo](<https://devfeed.tech/sources/tkdodo-s-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [interoperability](<https://devfeed.tech/topics/interoperability.md>), [Code](<https://devfeed.tech/topics/code.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [import](<https://devfeed.tech/topics/import.md>), [legacy systems](<https://devfeed.tech/topics/legacy-systems.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [import](<https://devfeed.tech/tags/import.md>), [interoperability](<https://devfeed.tech/tags/interoperability.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [legacy](<https://devfeed.tech/tags/legacy.md>), [typescript](<https://devfeed.tech/tags/typescript.md>)

### AI overview

This tutorial explains interoperability between JavaScript and TypeScript in a gradually migrated legacy codebase. It covers importing JavaScript from TypeScript, the allowJs setting, inferred types, optional parameters, declaration files, and destructuring-based implementation changes.

### Source excerpt

Gradually migrating from JS to TS is not without difficulties - here are some tricks to smoothen the interoperability

## JavaScript to Know for React

DevFeed: [JavaScript to Know for React](<https://devfeed.tech/articles/javascript-to-know-for-react-51821.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/javascript-to-know-for-react>)

Published: 2020-07-15T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [JavaScript](<https://devfeed.tech/topics/javascript.md>), [React](<https://devfeed.tech/topics/react.md>), [Learning](<https://devfeed.tech/topics/learning.md>), [Closure](<https://devfeed.tech/topics/closure.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [modules](<https://devfeed.tech/topics/modules.md>), [syntax](<https://devfeed.tech/topics/syntax.md>)

Tags: [closure](<https://devfeed.tech/tags/closure.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [learning](<https://devfeed.tech/tags/learning.md>), [modules](<https://devfeed.tech/tags/modules.md>), [react](<https://devfeed.tech/tags/react.md>), [react-hooks](<https://devfeed.tech/tags/react-hooks.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

A tutorial on JavaScript features that developers should learn to work effectively with React, including closures, template literals, arrow functions, destructuring, default parameters, and modules.

### Source excerpt

What JavaScript features you should be familiar with when learning and using React

## Array destructuring in PHP

DevFeed: [Array destructuring in PHP](<https://devfeed.tech/articles/array-destructuring-in-php-44087.md>)

Original publisher: [Read original article](<https://stitcher.io/blog/array-destructuring-with-list-in-php>)

Author: Brent

Published: 2019-04-01T00:00:00Z

Content type: tutorial

Language: en

Sources: [Stitcher](<https://devfeed.tech/sources/stitcher-io.md>)

Topics: [destructuring](<https://devfeed.tech/topics/destructuring.md>), [PHP](<https://devfeed.tech/topics/php.md>), [Code](<https://devfeed.tech/topics/code.md>), [CSV](<https://devfeed.tech/topics/csv.md>)

Tags: [array](<https://devfeed.tech/tags/array.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [list](<https://devfeed.tech/tags/list.md>), [loops](<https://devfeed.tech/tags/loops.md>), [php](<https://devfeed.tech/tags/php.md>), [variable](<https://devfeed.tech/tags/variable.md>)

### AI overview

A tutorial on PHP array destructuring with the list construct. It explains shorthand syntax, skipped elements, non-numerical keys, named destructuring, trailing commas, and use in loops, including examples involving JSON and CSV parsing.

### Source excerpt

Read the full post on https://stitcher.io/blog/array-destructuring-with-list-in-php

## React Hooks: Array Destructuring Fundamentals

DevFeed: [React Hooks: Array Destructuring Fundamentals](<https://devfeed.tech/articles/react-hooks-array-destructuring-fundamentals-51851.md>)

Original publisher: [Read original article](<https://kentcdodds.com/blog/react-hooks-array-destructuring-fundamentals>)

Published: 2018-12-31T00:00:00Z

Content type: tutorial

Language: en

Sources: [Kent C. Dodds Blog](<https://devfeed.tech/sources/kent-c-dodds-blog.md>)

Topics: [React](<https://devfeed.tech/topics/react.md>), [destructuring](<https://devfeed.tech/topics/destructuring.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [Babel](<https://devfeed.tech/topics/babel.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>), [TypeScript](<https://devfeed.tech/topics/typescript.md>), [browser](<https://devfeed.tech/topics/browser.md>)

Tags: [babel](<https://devfeed.tech/tags/babel.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [es6](<https://devfeed.tech/tags/es6.md>), [fundamentals](<https://devfeed.tech/tags/fundamentals.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [react](<https://devfeed.tech/tags/react.md>), [react-hooks](<https://devfeed.tech/tags/react-hooks.md>), [syntax](<https://devfeed.tech/tags/syntax.md>)

### AI overview

A tutorial explains how React's useState hook relies on JavaScript array destructuring. It introduces destructuring as ES6 syntax, discusses syntactic sugar, and uses AST Explorer, Babel, and TypeScript to examine how the syntax works and is compiled for older browsers.

### Source excerpt

React's upcoming useState hook relies on array destructuring, let's dive in and see how that feature works.

## ES6 Destructuring

DevFeed: [ES6 Destructuring](<https://devfeed.tech/articles/es6-destructuring-52471.md>)

Original publisher: [Read original article](<http://www.jackfranklin.co.uk/blog/es6-destructuring/>)

Published: 2014-10-16T00:00:00Z

Content type: article

Language: en

Sources: [Jack Franklin](<https://devfeed.tech/sources/jack-franklin.md>)

Topics: [destructuring](<https://devfeed.tech/topics/destructuring.md>), [ECMAScript](<https://devfeed.tech/topics/ecmascript.md>)

Tags: [array](<https://devfeed.tech/tags/array.md>), [destructuring](<https://devfeed.tech/tags/destructuring.md>), [es6](<https://devfeed.tech/tags/es6.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [object](<https://devfeed.tech/tags/object.md>)

### AI overview

ES6 destructuring extracts selected values directly from arrays or objects, including skipping array elements and unpacking an object returned by a function. Functions can destructure an object argument in the parameter list, making the expected properties visible and avoiding separate assignments; shorthand property syntax also lets `{ name: name }` become `{ name }` when the variable and property share a name. The excerpt notes that the examples use Traceur to compile ES6 to ES5 for environments without those features; using it requires the Traceur runtime in the HTML. The author says the syntax may take some getting used to.

### Source excerpt

ES6 comes both with huge new features like generators or classes, but also packs in a lot of smaller features that are going to make a big difference to how your JavaScript looks. Today I want to explore some of the new destructuring abilities ES6 adds, and how it can reduce the amount of code we have to write. ## Traceur All the code examples seen in this post were run through Traceur, a tool for compiling ES6 code into ES5 code which has much better browser support. The beauty of Traceur is that it allows you to write ES6, compile it and use the result in environments where ES6 features are not implemented. Traceur is installed through npm: npm install --global traceur And then used on a source file like so: traceur --out build.js --script my_source_file.js You'll also need to include the Traceur runtime in your HTML. The runtime comes as part of the Node module, and is found in the bin directory, called traceur-runtime.js directory. If you'd like to see an example of this, you can check out this example repo on GitHub, which has Traceur set up. Destructuring The most common destructuring example is to pull values out of an array: var [a, b] = [1, 2]; a; //=> 1 b; //=> 2 You can also miss out parts of the array too: var [a, , b] = [1, 2, 3]; a; //=> 1 b; //=> 3 This lends itself well to splitting strings: var fullName = 'Jack Franklin'; var [first, last] = fullName.split(' '); first; //=> 'Jack' last; //=> 'Franklin' What is perhaps more useful is that we can perform this same type of destructuring on objects: var { name, age } = { name: 'Jack', age: 22 }; name; //=> 'Jack' age; //=> '22' This is useful if you have a function that returns an object, and you want to get certain parts of the object only: var about = function() { return { name: 'Jack', age: 22, }; }; var { name } = about(); name; //=> 'Jack' Functions that take objects The above functionality is really useful, and will certainly come in handy, but we can go one step further. Because we can take in an