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

test1.expected 778 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. my_string=
  2. my_string.to_string()="\t"
  3. my_string=\
  4. my_string.to_string()="\\"
  5. my_string=/
  6. my_string.to_string()="\/"
  7. my_string.to_string(NOSLASHESCAPE)="/"
  8. my_string=/foo/bar/baz
  9. my_string.to_string()="\/foo\/bar\/baz"
  10. my_string.to_string(NOSLASHESCAPE)="/foo/bar/baz"
  11. my_string=foo
  12. my_string.to_string()="foo"
  13. my_int=9
  14. my_int.to_string()=9
  15. my_array=
  16. [0]=1
  17. [1]=2
  18. [2]=3
  19. [3]=null
  20. [4]=5
  21. my_array.to_string()=[ 1, 2, 3, null, 5 ]
  22. my_array=
  23. [0]=3
  24. [1]=1
  25. [2]=2
  26. [3]=null
  27. [4]=0
  28. my_array.to_string()=[ 3, 1, 2, null, 0 ]
  29. my_array=
  30. [0]=null
  31. [1]=0
  32. [2]=1
  33. [3]=2
  34. [4]=3
  35. my_array.to_string()=[ null, 0, 1, 2, 3 ]
  36. baz_obj.to_string()="fark"
  37. my_object=
  38. abc: 12
  39. foo: "bar"
  40. bool0: false
  41. bool1: true
  42. my_object.to_string()={ "abc": 12, "foo": "bar", "bool0": false, "bool1": true }