• Srinivasa Somu
  • NEWBIE
  • 5 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hi,

Set collection (I guess all the Collections) in lightning component's javaScript Helper/Controller is not working from Summer'16, It is throwing the following error -
TypeError: Set is not a Constructor (or)
TypeError: Set is not a Function.
Sample Code:
var s = new Set();

Note:
1. Before Summer'16 upgrade it was working.
2. I have included the above sample code in the javaScript of the Visualforce, It is working. Only the Lightning Component is causing the issue.

Please help me with a work around or let me know if you have any suggestions.

Thanks,
Srinivas
Hi,

Set collection (I guess all the Collections) in lightning component's javaScript Helper/Controller is not working from Summer'16, It is throwing the following error -
TypeError: Set is not a Constructor (or)
TypeError: Set is not a Function.
Sample Code:
var s = new Set();

Note:
1. Before Summer'16 upgrade it was working.
2. I have included the above sample code in the javaScript of the Visualforce, It is working. Only the Lightning Component is causing the issue.

Please help me with a work around or let me know if you have any suggestions.

Thanks,
Srinivas
Hi,

Set collection (I guess all the Collections) in lightning component's javaScript Helper/Controller is not working from Summer'16, It is throwing the following error -
TypeError: Set is not a Constructor (or)
TypeError: Set is not a Function.
Sample Code:
var s = new Set();

Note:
1. Before Summer'16 upgrade it was working.
2. I have included the above sample code in the javaScript of the Visualforce, It is working. Only the Lightning Component is causing the issue.

Please help me with a work around or let me know if you have any suggestions.

Thanks,
Srinivas