Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better approach to get last element of array #6

Merged
merged 2 commits into from
Aug 8, 2023
Merged

Conversation

Ninad89
Copy link
Owner

@Ninad89 Ninad89 commented Aug 8, 2023

closes #5

@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (16fa886) 100.00% compared to head (9beda5b) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           19        19           
  Branches         1         1           
=========================================
  Hits            19        19           
Files Changed Coverage Δ
src/index.ts 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Ninad89 Ninad89 merged commit 29ea8ef into main Aug 8, 2023
8 checks passed
@Ninad89 Ninad89 deleted the feat/array-access branch August 8, 2023 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Get last element of array by using array.at(-1)
1 participant