`m 23 years old. I started learning programming 2 months ago.
I hope the courses will heip me learn a lot of new things
and improve my skills.
National Research Mordovia State University
Economics
Institute
Academic programmes: Economics
Profile 3++: Finance and loans
Explore My
(level of English is somewhere between B1 Intermediate and
B2 Upper Intermediate according to the Common European
Framework of Reference, also known as the CEFR)
Start programming
function filter_list(l) { // Return a new array with the
strings filtered out return l.filter(x => typeof x === 'number'); }
const assert = require('chai').assert; describe("Tests", () => {
it("test", () => {
assert.deepEqual(filter_list([1,2,'a','b']),[1,2], 'For input
[1,2,"a","b"]');
assert.deepEqual(filter_list([1,'a','b',0,15]),[1,0,15], 'For input
[1,"a","b",0,15]');
assert.deepEqual(filter_list([1,2,'aasf','1','123',123]),[1,2,123],
'For input [1,2,"aasf","1","123",123]'); }); });
Get in touch