How do I open a deferred Promise object?

  • 0
    How to open a promise object like this:

    Namely, lines with coordinates are not opened. When trying to convert such an object to an array, it turns out that some of the array elements are empty.

    If you call an element of any of the coordinates, then it returns undefined
    JavaScript Anonymous, Dec 16, 2019

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!