Skip to content

Instantly share code, notes, and snippets.

@whitglint
Last active March 31, 2017 04:42
Show Gist options
  • Select an option

  • Save whitglint/58030cada6a5d577d2aec728831b3932 to your computer and use it in GitHub Desktop.

Select an option

Save whitglint/58030cada6a5d577d2aec728831b3932 to your computer and use it in GitHub Desktop.
let aaa = [| {js|你好|js}; ""; ""; "" |]
編成
var aaa = /* array */[
"你好",
"",
"",
""
];
let aaa = [| {js|你好|js}; ""; ""; ""; "" |]
編成
var Caml_obj = require("bs-platform/lib/js/caml_obj");
var aaa = Caml_obj.caml_obj_dup(/* array */[
"你好",
"",
"",
"",
""
]);
let aaa = [ {js|你好|js}; ""; ""; ""; "" ]
編成
var aaa = /* :: */[
"你好",
/* :: */[
"",
/* :: */[
"",
/* :: */[
"",
/* :: */[
"",
/* [] */0
]
]
]
]
];
let aaa = [| "你好"; ""; ""; ""; "" |]
編成
var aaa = /* array */[
"\xe4\xbd\xa0\xe5\xa5\xbd",
"",
"",
"",
""
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment