Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const examples = problem => {
- const newInputs = problem.inputs.map((input, i) => {
- console.log(input);
- return {'type': input.type, 'value': input.input}
- });
- console.log(newInputs);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement