Trying to extract from a promise, see below. The value that I'm trying to extract is the "mObjectUUID:".
Able to pull back the promise through "resolveProductNodes().then()" but unsure then how to extract the ID. Can you help?
Promise {<fulfilled>: Array(1)}
[[Prototype]]
:
Promise
catch
:
ƒ catch()
constructor
:
ƒ Promise()
finally
:
ƒ finally()
then
:
ƒ then()
Symbol(Symbol.toStringTag)
:
"Promise"
[[Prototype]]
:
Object
[[PromiseState]]
:
"fulfilled"
[[PromiseResult]]
:
Array(1)
0
:
S {mObjectId: 1, mObjectUUID: 'e4702625-15ce-a6c8-b88e-b790e7e47224', mMessageHandlers: {…}, mComponents: Array(7), mRenderObject: h, …}
length
:
1
[[Prototype]]
:
Array(0)
I tried "resolveProductNodes().then()" but then unsure how to extract the ID. Can you help?