Advertisement
Btwonu

temp

Feb 24th, 2020
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 'use strict';
  2.  
  3. function maxima([ arg, arg1, arg2 ]) {
  4. //Input
  5. let [age, gender] = [+ arg, arg1, arg2];
  6. //Code
  7. console.log(typeof age);
  8. console.log(age);
  9. console.log(gender);
  10.  
  11. }
  12.  
  13. maxima([
  14.     '321',
  15.     'asd',
  16.     'maxik'
  17. ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement