We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c85afc1 commit b34cb02Copy full SHA for b34cb02
index.d.ts
@@ -1,13 +1,13 @@
1
/**
2
Check if provided string is an `IdentifierName` as specified in [ECMA262 edition 5.1 section 7.6](https://262.ecma-international.org/5.1/#sec-7.6)
3
4
-@param moduleName - The name of the module.
+@param id - Identifier to check.
5
6
@example
7
```js
8
import isEs5IdentifierName from "is-es5-identifier-name";
9
10
-isEs5IdentifierName("prettier");
+isEs5IdentifierName("es5");
11
// -> true
12
```
13
*/
readme.md
@@ -13,7 +13,7 @@ yarn add is-es5-identifier-name
14
15
16
17
18
19
isEs5IdentifierName("16");
0 commit comments