Javascript"Uncaught SyntaxError:Unexpected token;" 错误

oor*_*soy 1 javascript

当我运行此代码时,它会在Chrome中出现语法错误.

var leanboo = confirm("RFT(ready for testing)?") // Co1,Cr1
console.log(leanboo)
var text = prompt("What are your thoughts of this Area?")
console.log(text)

function crashCourseTesterIdGenerator(min, max) {
console.log(Math.floor((Math.random() * max) + min);)
} //Co1,Cr2
var testermin = prompt("Id generating min:")
var testermax = prompt("Id generating max:")
console.log(crashCourseTesterIdGenerator(testermin, testermax))
Run Code Online (Sandbox Code Playgroud)

它是否与方法名称长度有关或我只是忘记了一些分号?

Poi*_*nty 5

你已经有了一个; 内部console.log()该函数调用.