Skip to main content
Module

x/deno2node/src/deps.deno.ts>BindingElement#getPropertyNameNode

Compile your Deno project to run on Node.js.
Go to Latest
method BindingElement.prototype.getPropertyNameNode
import { BindingElement } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Gets binding element's property name node or returns undefined if not found.

For example in const { a: b } = { a: 5 }, a would be the property name.