Skip to content
RSS feed tkhwang on GitHub tkhwang on Twitter

How to count using array index

        0   1   2   3   4   5
            |       |
           left    right

✨ What is the difference between [object Object] ?

        0   1   2   3   4   5
            |       |
           left    right
            1   2   3
right - left;

πŸ”₯ How many elements are there between [object Object] ?

        0   1   2   3   4   5
            |       |
           left    right
            1   2   3
right - left + 1;