array to set javascript

JavaScript
var arr = [55, 44, 65];
var set = new Set(arr);
Source

Also in JavaScript: