Create Set From Array Javascript Methods Types