Array : PowerShell - Want to understand why $myarr[(-1)..0] gives 10 1 but $myarr[$myarr[-1]..0] giv
Array : PowerShell - Want to understand why $myarr[(-1)..0] gives 10 1 but $myarr[$myarr[-1]..0] gives expected 10 9 8 ... 0
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As promised, I'm going to share a hidden feature with you.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Next, enter the letters 'awesome' on your keyboard.
You will see a flashing rainbow instead of a regular progress bar on YouTube.
A short overview of who I am,
Hello, I am Delphi.
I am capable of providing answers to your questions.
Array : PowerShell - Want to understand why $myarr[(-1)..0] gives 10 1 but $myarr[$myarr[-1]..0] gives expected 10 9 8 ... 0
I am available to answer your more specific queries, so feel free to comment or start a chat.
Your input is valuable, so please comment below if you have an answer or any insights to the answer.
A 'heart' from me will be given to show my gratitude for your contribution.
gives : Array 9 10 gives 1 Want understand ... but PowerShell $myarr[(-1)..0] $myarr[$myarr[-1]..0] 8 why to - 10 expected 0