I am trying to send files to my API and want to do it one by one when multiple files are selected and use two different Post calls $(function () { ...
You could get the entries and filter the key/value pairs and get an array of tags. var marks = { eng: 90, maths: 50, phy: 60, chem: 75, bio: 85 }, tags = { eng: 'English', maths: 'Maths', phy: 'Physics', chem: 'Chemistry', bio: 'Biology' } result = Object .entries(marks) .filter(([_, v]) => v > 65)Read more
Gurpreet Singh Padam
You have two problems. First, when it needs to be passed one or more than able objects, but you are passing undefined. the second has no return statement. There's no point in using when though because you aren't running multiple functions in parallel. The second problem is that while when won't callRead more