charAt.baseline 598 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. AllChars : Hello. Length : 5
  2. H
  3. e
  4. l
  5. l
  6. o
  7. AllChars : HelloWorld. Length : 10
  8. H
  9. e
  10. l
  11. l
  12. o
  13. W
  14. o
  15. r
  16. l
  17. d
  18. Got a exception. String.prototype.charAt: 'this' is null or undefined
  19. >> FirstChar : undefined
  20. Got a exception. String.prototype.charAt: 'this' is null or undefined
  21. >> FirstChar : 0
  22. 0
  23. << FirstChar.
  24. >> FirstChar : 1.1
  25. 1
  26. << FirstChar.
  27. >> FirstChar : 10
  28. 1
  29. << FirstChar.
  30. >> FirstChar : Hello
  31. H
  32. << FirstChar.
  33. >> FirstChar : true
  34. t
  35. << FirstChar.
  36. >> FirstChar : false
  37. f
  38. << FirstChar.
  39. >> FirstChar : true
  40. t
  41. << FirstChar.
  42. >> FirstChar : [object Object]
  43. [
  44. << FirstChar.