單詞 翻譯
var 完整 variable 變化的,宣告變數
const 完整 constant 永恆的 宣告常量
typeof 型別,檢測資料型別
true 真
false 假
undefined 未定義
null 空
number 數值
string 字串
boolean 布林
object 物件
nan 不是乙個數字 not a number
parseint parse 解析 int 整型
parsefloat parse 解析 float 浮點型
if 如果
else 否則
switch 開關
case 具體情況
while 當…時候
do 做,進行,進展
break 結束,打破
continue 繼續,跳過某一次
function 功能體、函式
return 返回值
infinity 無限值
eval 執行字串表示式
encode 編碼
decode 解碼
uri 統一資源識別符號
new 新的,用於建立物件
object 物件
hasownproperty 有自己的屬性
array 陣列
length 長度
join 連線,拼接
concat 合併多個陣列
slice 切成片,劃分,用於擷取陣列
reverse 翻轉
sort 分類,排序
splice 膠接,粘接;向陣列中新增/刪除元素
push 推,用於在陣列末尾新增元素
pop 刪除陣列末尾的乙個元素
unshift 在陣列開頭新增元素
shift 轉移,變換;用於刪除陣列開頭的元素
charat 返回指定下標的字元
indexof 返回指定字串在某個字串中首次出現的下標
lastindexof 返回指定字串在某個字串中最後一次出現的下標,倒著查詢
touppercase 英文本母轉大寫
tolowercase 英文本母轉小寫
slice 擷取字串
substr 擷取字串
substring 擷取字串
split 將乙個字串分割成陣列
search 查詢
match 匹配
replace 替換
abs 完整absolute 絕對的
round 環形的,環繞的,四捨五入取整
ceil 天花板 向上取整
floor 地板 向下取整
max 最大
min 最小
random 取隨機
date 日期
getfullyear 獲取年份
getmonth 獲取月份
getdate 獲取日期
gethours 獲取小時
getminutes 獲取分鐘
getseconds 獲取秒鐘
getmilliseconds 獲取毫秒
gettime 獲取距離計算機元年毫秒數 計算機元年是1970-1-1 0:0:0
getday 獲取星期
tolocalestring 轉為本地字串
tolocaledatestring 轉為本地字串,只有日期部分
tolocaletimestring 轉為本地字串,只有時間部分
setfullyear 設定年份的值
setmonth 設定月份的值
setdate 設定日期的值
sethours 設定小時的值
setminutes 設定分鐘的值
setseconds 設定秒鐘的值
setmilliseconds 設定毫秒的值
setday 設定星期的值
settime 設定距離計算機元年的毫秒數;會產生乙個對應的日期時間
tofixed 讓乙個數字保留小數點後n位
try 嘗試
catch 捕獲,捕捉
python中的英文單詞
list是乙個可變的有序表,所以,可以往list中追加元素到末尾 classmates michael bob tracy adam 也可以把元素插入到指定的位置,比如索引號為1的位置 classmates.insert 1,jack classmates michael jack bob trac...
英文單詞Advanced的意思
iamlaosong文 倉儲系統wms中有個asn的概念,asn的英文是advanced shipping notice,直譯就是提前裝運通知,又叫預期收貨通知。預期收貨通知通常被用於倉庫中的實際收貨,能減少資料輸入時間和簡化收貨流程。advanced的意思印象中就是高階的 先進的,這兒的意思是提前...
歌曲中的英文單詞
glory n.光榮,榮譽 對上帝的 贊 美 頌 壯麗 觀 輝煌,燦爛 可讚美 誇耀 的事 繁榮,昌盛 興致勃勃,得意揚揚 宗 天國的榮譽,天福 神像後的 光輪 日 月 華,日冕 the glory of the sunset 落日的壯觀 distress n.苦惱 痛苦 窮困 貧苦 危難,不幸 律...