I see the following Lightning Lint tool error in my project
error ecma-intrinsics Invalid Intrinsic API Line:31:30 selectedRecords: Object.values( component.get('v.selectedRecordsMap') ), ^
I have read this documentation article
I have looked through the related documents but still I don't understand what is wrong with getting values list from map using Object.values() method?
Is there any way to avoid this lint error?