摘要:
Complete the function/method so that it takes CamelCase string and returns the string in snake_case notation. Lowercase characters can be numbers. If 阅读全文
摘要:
Complete the method/function so that it converts dash/underscore delimited words into camel casing. The first word within the output should be capital 阅读全文
摘要:
如果我们想创建一个函数实例(传入参数为数组),为其原型对象添加我们自定义的方法,实现两个数组对象对应的项进行相加、相减等。那我们应该怎么做呢? 我们想得到如下的效果: my answer: javascript var Vector = function (components) { this.va 阅读全文
摘要:
Description: Write a function that when given a URL as a string, parses out just the domain name and returns it as a string. For example: 使用正则解决该问题比较方 阅读全文
摘要:
Description: Write a function called that takes a string of parentheses, and determines if the order of the parentheses is valid. should return true i 阅读全文
摘要:
用js实现多个目标移动,当鼠标移上去的时候改变宽度,鼠标移出去的时候变回原来宽度。 阅读全文
摘要:
Description: My friend John and I are members of the "Fat to Fit Club (FFC)". John is worried because each month a list with the weights of members is 阅读全文
摘要:
my answer 使用正则表达式: 空格也可以换成\s表示 阅读全文
摘要:
Description: Move the first letter of each word to the end of it, then add 'ay' to the end of the word. my answer:使用正则 other answer: 阅读全文
摘要:
Description: The number' '89' 'is the first integer with more than one digit that fulfills the property partially introduced in the title of this kata 阅读全文