Created
May 2, 2019 15:45
-
-
Save gpDA/e1705d1591fc3269342145326c5626e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ./components/Chart/Chart.js | |
| // line1 | |
| let inital_line_1 = this.state.inital_line_1; | |
| // slicing the array EXAMPLE (5, length) if counter is 5 | |
| let line_line1 = inital_line_1.slice(this.state.counter, inital_line_1.length) | |
| // line2 | |
| let inital_line_2 = this.state.inital_line_2; | |
| let line_line2 = inital_line_2.slice(this.state.counter, inital_line_2.length) | |
| // line3 | |
| let inital_line_3 = this.state.inital_line_3; | |
| let line_line3 = inital_line_3.slice(this.state.counter, inital_line_3.length) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment