Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Closing.
Thanks
8 kyu
This is what 8kyu should be.
Your code is not exactly correct, it is missing some closing braces.
I'm getting the following error message even though my code is correct.
STDERR:
/workspace/node/test.js:22
SyntaxError: Unexpected end of input
at Object.compileFunction (node:vm:360:18)
at wrapSafe (node:internal/modules/cjs/loader:1088:15)
at Module._compile (node:internal/modules/cjs/loader:1123:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1213:10)
at Module.load (node:internal/modules/cjs/loader:1037:32)
at Module._load (node:internal/modules/cjs/loader:878:12)
at ModuleWrap. (node:internal/modules/esm/translators:169:29)
at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
at async importModuleDynamicallyWrapper (node:internal/vm/module:438:15)
at async formattedImport (/workspace/node/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/nodejs/esm-utils.js:9:14)
at async exports.requireOrImport (/workspace/node/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/nodejs/esm-utils.js:42:28)
at async exports.loadFilesAsync (/workspace/node/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/nodejs/esm-utils.js20)
at async singleRun (/workspace/node/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/cli/run-helpers.js:125:3)
at async exports.handler
C++ Translation
The
Issue
label is for provable kata issues. Please use theQuestion
label when asking for help and code formatting when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.Regarding your attempted solution, see https://docs.codewars.com/training/training-example#writing-a-solution.
This comment is hidden because it contains spoiler information about the solution
TS: function name should use
camelCase
You have right. When I try it in that way, everything was right. I didn't now that the name of the function is also important. Thank you for your answer!
maybe the problem is that you have to put your solution in a funtion with the name "filter_list".
Hello!
In te VS I'm getting good results, but here i'm getting this message:
Fixed tests
ReferenceError: filter_list is not defined
at Context. (test.js:15:12)
at process.processImmediate (node:internal/timers:471:21)
Random tests
ReferenceError: filter_list is not defined
at Context. (test.js:37:14)
at process.processImmediate (node:internal/timers:471:21)
OMG that's the first exercise I do here and I've been like 30 minutes looking at the screen thinking why it wasn't working. Thank you!
I meant read these docs: https://docs.codewars.com/training/troubleshooting#post-discourse
As for the link you asked, try this one
Loading more items...