This function takes two optional parameters, begin and end, both of which are of type number. If no arguments are provided when the function is called, both begin and end will be undefined.

In this case, when the function is called with no arguments as slice(), it will log undefined undefined to the console.

function slicebegin number end number void consolelogbegin end; slice

原文地址: https://www.cveoy.top/t/topic/8GQ 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录