我有一个功能:
function myfunction() { if (a == 'stop') // How can I stop the function here? }
是否有类似exit()JavaScript的东西?
exit()
javascript
javascript ×1