Skip to content

fix: resolve JavaScript lint errors (issue #11867)#11878

Closed
bhumikasudarshani-cmd wants to merge 6 commits intostdlib-js:developfrom
bhumikasudarshani-cmd:fix/js-lint-errors-11867
Closed

fix: resolve JavaScript lint errors (issue #11867)#11878
bhumikasudarshani-cmd wants to merge 6 commits intostdlib-js:developfrom
bhumikasudarshani-cmd:fix/js-lint-errors-11867

Conversation

@bhumikasudarshani-cmd
Copy link
Copy Markdown
Contributor

Fixed 3 JavaScript lint errors:

  • symbol/async-iterator: replaced Symbol.asyncIterator dot notation with Symbol[ 'asyncIterator' ] bracket notation
  • utils/constructor-name/examples: fixed doctest return value and removed unused eslint-disable directive
  • ndarray/fancy/test: replaced new Array() constructor with array literal []

Related Issues

resolves #11867

@bhumikasudarshani-cmd bhumikasudarshani-cmd requested a review from a team May 1, 2026 08:00
@stdlib-bot stdlib-bot added Needs Review A pull request which needs code review. Good First PR A pull request resolving a Good First Issue. labels May 1, 2026
@stdlib-bot
Copy link
Copy Markdown
Contributor

stdlib-bot commented May 1, 2026

Coverage Report

Package Statements Branches Functions Lines
utils/constructor-name $\color{green}126/126$
$\color{green}+0.00%$
$\color{green}12/12$
$\color{green}+0.00%$
$\color{green}1/1$
$\color{green}+0.00%$
$\color{green}126/126$
$\color{green}+0.00%$

The above coverage report was generated for the changes in this PR.

@bhumikasudarshani-cmd bhumikasudarshani-cmd force-pushed the fix/js-lint-errors-11867 branch from 4e0e556 to 7ac99e9 Compare May 1, 2026 18:58
@stdlib-bot stdlib-bot added the Potential Duplicate There might be another pull request resolving the same issue. label May 3, 2026
Comment thread lib/node_modules/@stdlib/utils/constructor-name/examples/index.js Outdated
Signed-off-by: Athan <kgryte@gmail.com>
@kgryte
Copy link
Copy Markdown
Member

kgryte commented May 3, 2026

I am not sure why the lint failure:

In [1]: constructorName( 'a' )
Out[1]: 'String'

@stdlib-bot stdlib-bot removed the Needs Review A pull request which needs code review. label May 3, 2026
@bhumikasudarshani-cmd bhumikasudarshani-cmd deleted the fix/js-lint-errors-11867 branch May 3, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Good First PR A pull request resolving a Good First Issue. Potential Duplicate There might be another pull request resolving the same issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix JavaScript lint errors

3 participants