'use strict'; function unused(...args) { let alphabet = new Set('0123456789'.split('')); let used = new Set(args.join().split('')); let difference = [...alphabet].filter(x => !used.has(x)); return difference; } alert(unused(32, 90, 44));