【多选题】

下列说法中为正确的是?(其中$为jQuery)()

A、 $.trim(str)可以去掉str两端的空格

B、 运行alert(’abcdefg’.substring(2,5))会弹出’cde’

C、 运行alert(’abcdefg’.substr(2,5))会弹出’cde’

D、 运行alert(newDate(’2018-12-01’).getMonth())会弹出12


  题目答案
  答案解析



Copyright © 2021   题库网   浙ICP备2024091676号