I think my browser addon (uMatrix) was blocking parts of the output... Thanks
There are two more translations (python and JS). Here is a description on howto find and approve or decline those: https://github.com/Codewars/codewars.com/wiki/Tutorial:-Approving-translations
Did you disable console.log somehow? I think your tests should already output some failure message! Best practice would be to be more descriptive though. For instance:
console.log
Test.describe("Testing 'mutators'", function(){ Test.it ("pop", function(){ Test.assertEquals(stringArray("1,hey,3","pop"), "1,hey", "'pop' failed"); }); // ... }); Test.describe("Testing 'properties'", function(){ // length etc });
Does not provide any failure messages. Besides that, nice idea and nice kata. Thank you
There is a little typo in the description: "jsFunction" [...] which should jst return the corresponding array property value"
Why is the solution area prefilled with var websites = [];? Would it not be better to start with sth like:
var websites = [];
function stringArray(arrayStr, functionOrProperty, optionalArgs) { // Your code here }
This comment is hidden because it contains spoiler information about the solution
Yeah, I first tried to modify the Safe obj. Nice puzzle :-)
I modified your 'Safe' such that it looks like:
{ makeMessage: [Function], getMessage: [Function], message: '123' } [Function] 123 The message said: 123
But "123" is still wrong...
That was fast :-)
remove namespace bank and put public static int in correct order in c#
namespace bank
public static int
Thank you, but almost:
namespace Bank { using System; public class Pizza { // ...
Furthermore it has to be public static int and not public int static.
public int static
javascript translation kumited
What does the prefilled C# code has to do with this kata? It starts with
namespace Bank { using System; public class Account { // ...
Besides that, nice cutter!
Loading collection data...
I think my browser addon (uMatrix) was blocking parts of the output... Thanks
There are two more translations (python and JS). Here is a description on howto find and approve or decline those:
https://github.com/Codewars/codewars.com/wiki/Tutorial:-Approving-translations
Did you disable
console.log
somehow? I think your tests should already output some failure message! Best practice would be to be more descriptive though. For instance:Does not provide any failure messages.
Besides that, nice idea and nice kata.
Thank you
There is a little typo in the description: "jsFunction" [...] which should jst return the corresponding array property value"
Why is the solution area prefilled with
var websites = [];
?Would it not be better to start with sth like:
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Yeah, I first tried to modify the Safe obj. Nice puzzle :-)
I modified your 'Safe' such that it looks like:
But "123" is still wrong...
That was fast :-)
remove
namespace bank
and putpublic static int
in correct order in c#Thank you, but almost:
Furthermore it has to be
public static int
and notpublic int static
.javascript translation kumited
What does the prefilled C# code has to do with this kata? It starts with
Besides that, nice cutter!
Loading more items...