Last change
on this file since 6a80231 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
349 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | Object.defineProperty(exports, "__esModule", {
|
---|
| 4 | value: true
|
---|
| 5 | });
|
---|
| 6 | exports.default = isBlockScoped;
|
---|
| 7 |
|
---|
| 8 | var _generated = require("./generated");
|
---|
| 9 |
|
---|
| 10 | var _isLet = require("./isLet");
|
---|
| 11 |
|
---|
| 12 | function isBlockScoped(node) {
|
---|
| 13 | return (0, _generated.isFunctionDeclaration)(node) || (0, _generated.isClassDeclaration)(node) || (0, _isLet.default)(node);
|
---|
| 14 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.