Community
user-bcc4abdfa1b3ae5c 21 October 2019 →
Does anyone know why I'm getting an error with this function? It seems to work fine if I run it in the Chrome JS console.
const smallestDivisor = (num) => {
// BEGIN (write your solution here)
function iter(val, acc) { // console.log(val, acc) if (val % acc === 0) { return acc; } return iter(val, acc + 1); } return iter(num, 2);
// END
};
user-c75d3e90c60a7e85 29 August 2019 →
good what next
Link to the PBS article "How smart is today's artificial intelligence?" doesn't working anymore.
I searched and found this: https://www.pbs.org/newshour/show/smart-todays-artificial-intelligence-2
Adam Abundis 29 October 2018 →
Thank you for this course. I am slowly jamming all this information in my brain and it is slowly latching into empty pockets in my head. This is at least how I have felt in the last few weeks. The resources and videos on recursion are great. I feel like I understand the concept. And it seems "math" centric to use recursion to aid in a solution. Would you happen to have a real-world example of using recursion that would help someone like me who appreciates math when calculating a tip on a receipt but has not memorized the Fibonacci sequence by heart?
Max Giselson 22 October 2018 →
Im stuck on this part and not entirely sure wether close or not:( I understand the theory but as goes for the maths part I figured i won't make use of it for now anyway, so I just want to proceed - but your given solution does not pass the tests.
What to do?
Max Giselson 21 October 2018 →
There is a small typo in || matrix fyi:)
Cemil Yener 27 September 2018 →
multi task input process output data stroage
Amit Shrivastava 18 February 2018 →
This is my second lesson only , but having struggle to learn JS for about 8 months now, if i can learn some thing here , i will buy you a nice vegetable salad
georgii ivannikov 02 November 2017 →
Hello there actually 300000, not 300000000
Pavel Perminov 23 August 2017 →
Do I need to develop some "through ass" regex because of JS did not support look behind? Or this exercise is a some kind of feature?