bundles/org.eclipse.orion.client.javascript/web/eslint/lib/rules/no-extra-bind.js
function getPropertyName(node) {
			if (node.computed) {
				switch (node.property.type) {
					case "Literal":
						return String(node.property.value);
					case "TemplateLiteral":
						if (node.property.expressions.length === 0) {
							return node.property.quasis[0].value.cooked;
						}
						// fallthrough
					default:
						return false;
				}
			}
			return node.property.name;
		}
function getPropertyName(node) {
			if (node.computed) {
				switch (node.property.type) {
					case "Literal":
						return String(node.property.value);
					case "TemplateLiteral":
						if (node.property.expressions.length === 0) {
							return node.property.quasis[0].value.cooked;
						}
						// fallthrough
					default:
						return false;
				}
			}
			return node.property.name;
		}
function getPropertyName ( node ) { if ( node . computed ) { switch ( node . property . type ) { case "Literal" : return String ( node . property . value ) ; case "TemplateLiteral" : if ( node . property . expressions . length === 0 ) { return node . property . quasis [ 0 ] . value . cooked ; } // fallthrough
 default : return false ; } } return node . property . name ; }
Gets the property name of a given node.
If the property name is dynamic, this returns an empty string.

@param {ASTNode} node - A node to check. This is a MemberExpression.
@returns {string} The property name of the node.
Gets the property name of a given node . If the property name is dynamic this returns an empty string .