mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-06 07:51:41 +08:00
update
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
"__typename": "CodeSnippetNode"
|
||||
}
|
||||
],
|
||||
"stats": "{\"totalAccepted\": \"5.7K\", \"totalSubmission\": \"9.3K\", \"totalAcceptedRaw\": 5699, \"totalSubmissionRaw\": 9298, \"acRate\": \"61.3%\"}",
|
||||
"stats": "{\"totalAccepted\": \"5.7K\", \"totalSubmission\": \"9.3K\", \"totalAcceptedRaw\": 5699, \"totalSubmissionRaw\": 9305, \"acRate\": \"61.2%\"}",
|
||||
"hints": [
|
||||
"You can create copy of a function by spreading function parameters. \r\n\r\nfunction outerFunction(passedFunction) {\r\n return newFunction(...params) {\r\n return passedFunction(...params);\r\n };\r\n}",
|
||||
"params is an array. Since you know all values in the array are numbers, you can turn it into a string with JSON.stringify().",
|
||||
|
Reference in New Issue
Block a user