There was an error while loading. Please reload this page.
1 parent 3dc7a76 commit f195f25Copy full SHA for f195f25
1 file changed
README.md
@@ -76,7 +76,7 @@ extension ViewController: JavaScriptInterface {
76
}
77
78
func getErrorMessages(codes: [JSInt]) -> [String] {
79
- return ["dummy1", "dummy2", "dummy3"]
+ return codes.map { "message\($0)" }
80
81
82
0 commit comments