FED22. 数据类型转换
描述
请补全JavaScript函数,要求以字符串的形式返回两个数字参数的拼接结果。HTML/CSS/JavaScript 解法, 执行用时: 1678ms, 内存消耗: 77772KB, 提交时间: 2022-02-09
{"css":"","js":"function _splice(left,right) {\n // 补全代码\n return (right).toString()+(left).toString();\n}","html":"","libs":[]}
HTML/CSS/JavaScript 解法, 执行用时: 1682ms, 内存消耗: 77772KB, 提交时间: 2022-02-09
{"css":"","js":"function _splice(left,right) {\n // 补全代码\n \n return String(left)+String(right)\n}","html":"","libs":[]}
HTML/CSS/JavaScript 解法, 执行用时: 1684ms, 内存消耗: 77800KB, 提交时间: 2022-02-09
{"css":"","js":"function _splice(left,right) {\n // 补全代码\n return String(left) + String(right)\n}","html":"","libs":[]}
HTML/CSS/JavaScript 解法, 执行用时: 1698ms, 内存消耗: 77800KB, 提交时间: 2022-02-07
{"css":"","js":"function _splice(left,right) {\n // 补全代码\n return JSON.stringify(left) + JSON.stringify(right)\n}","html":"","libs":[]}
HTML/CSS/JavaScript 解法, 执行用时: 1733ms, 内存消耗: 77856KB, 提交时间: 2021-12-26
{"css":"","js":"function _splice(left,right) {\n // 补全代码\n let a = String(left)+String(right);\n return a;\n}","html":"","libs":[]}