For this Question: You are a substitute teacher of a merged class of students of 
different sections.
A few minutes before the period gets over you circulated a sheet of paper for attendance.
You told the students to first write their section(A, B, C, D..., Z) and then their roll number(1, 2, 3....) on the sheet of paper.
Some students were naughty so they wrote their section with roll numbers more than once on the attendance sheet.
Now, Ms. Rekha, the head teacher of the section <code>sec</code> wants the roll numbers of her class students to mark attendance in her register.
She requested you to give the attendance in ascending order with non-repeating roll numbers of her section's students only.
Your task is to complete the function <code> getStudentRollNumber() </code> which outputs an array of non-repeating roll numbers of a particular section.The function will take two arguments

1) 1st argument will be a string of one character 
2) 2nd argument will be the section and roll numbers separated by spaceThe function will return an array of a string of unique roll numbers, arranged in ascending order<pre>
<code>
const section='B'
const arr=[ 'B1', 'B5', 'A12', 'B45', 'C22', 'B1', 'A1' ]
const answer=getStudentRollNumber(section,arr)
//returns an array of unique string roll numbers in ascending order
console.log(answer)
//[ '1', '5', '45' ]


const section='A'
const arr=[ 'B1', 'B5', 'A12', 'B45', 'C22', 'B1', 'A100', 'D2', 'D2', 'A1', 'A100', 'A100', 'A22' ]
const answer=getStudentRollNumber(section,arr)
//returns an array of unique string roll numbers in ascending order
console.log(answer)
//[ '1', '12', '22', '100' ]
</code>
</pre>
, I have written this Solution Code: 
function getStudentRollNumber(section,array){
    array=array.filter(e=>e.includes(section)) ;
    //filtering the students and taking the students of required section only
    array=array.map(w=>w.split(section).pop()) ;
    //removing Alphabet section and taking only roll numbers
    array=[...new Set(array)];
    //removing roll numberes coming more than once
    array=array.sort(function(a, b){return a-b})
    //sorting the array ,the function defines the sort order
    return array;
}, In this Programming Language: JavaScript, Now tell me if this Code is compilable or not?