Answer the question
In order to leave comments, you need to log in
mootools - scandals, intrigues, investigations
Maybe I'm stupid, maybe I'm swollen by 7 in the morning ... But please explain to me someone why in this code:
window.addEvent('domready', function() {
console.log(Number.random(5-20));
alert(Number.random(5,20));
});
Answer the question
In order to leave comments, you need to log in
console.log(Number.random(5-20));
change the minus to a comma. Sleep at night ;)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question