You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
558B

  1. ({
  2. name: 'name',
  3. job: {
  4. name: 'Developer'
  5. },
  6. attributes:[
  7. {
  8. name: 'good',
  9. options: [
  10. 'outgoing',
  11. 'shy'
  12. ]
  13. }
  14. ],
  15. numbers:[1,2,3],
  16. sumOne:(value)=>{
  17. return value + 1;
  18. },
  19. upper:(value)=>{
  20. return value.toUpperCase()
  21. },
  22. lower: (value)=>{
  23. return value.toLowerCase()
  24. },
  25. firstUpper:(value) =>{
  26. value = value.split('')
  27. value[0] = value[0].toUpperCase()
  28. value = value.join('')
  29. return value;
  30. },
  31. setNameFuncion:(value)=>{
  32. return value + ": This is a value"
  33. }
  34. })