Sha256: 8903c3e9b91ad717451b1e2d717efd2429f606bcf246b33cf2c633c6fd89cbe3

Contents?: true

Size: 338 Bytes

Versions: 7

Compression:

Stored size: 338 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = toBindingIdentifierName;

var _toIdentifier = require("./toIdentifier");

function toBindingIdentifierName(name) {
  name = (0, _toIdentifier.default)(name);
  if (name === "eval" || name === "arguments") name = "_" + name;
  return name;
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
disco_app-0.16.1 test/dummy/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js
disco_app-0.15.2 test/dummy/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js
disco_app-0.18.4 test/dummy/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js
disco_app-0.18.1 test/dummy/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js
disco_app-0.14.0 test/dummy/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js