Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- function maxima([ arg, arg1, arg2 ]) {
- //Input
- let [age, gender] = [+ arg, arg1, arg2];
- //Code
- console.log(typeof age);
- console.log(age);
- console.log(gender);
- }
- maxima([
- '321',
- 'asd',
- 'maxik'
- ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement