Home  >  Article  >  Backend Development  >  JavaScript English word summary (PHP novice collection)

JavaScript English word summary (PHP novice collection)

青灯夜游
青灯夜游forward
2022-03-16 10:59:387948browse

No matter how popular PHP is, it will still make some students fearful and worry about whether they can learn PHP because their English is not good, and whether it will be difficult to learn it. In fact, poor English will not affect the learning of PHP, because there are only a few parts of English commonly used in PHP.

In the previous article "CSS English Word Summary (PHP Newbie Collection)", I introduced all the CSS English words involved in learning PHP. Now I will share with you all the JavaScript involved in learning PHP. English words, other parts will be shared slowly in the following series of articles.

All JS English words involved in learning PHP

var: Define variables

if: if

else: otherwise

switch: switch

for : Loop

while: When...

do: Do

break : Interrupt

continue: Continue

function: Function, function

return: Return

number:Number

#int:Integer

float:Floating point number

string:String

bool:Boolean

boolean:Boolean

typeof: type

null: empty, null value

array: array

length: Length

concat: Connection

join: Concatenation

pop: Pop

push:Push

reverse:Reverse

sort:Sort

slice: slice, divide

splice: hinge, glue

charAt: get the character at a certain position

indexOf: Determine the first position of a character

lastIndexOf: Determine the last position of a character

replace : Replace

split: Split

substr: Intercept string

substring : Intercept string

toLowerCase: Convert to lowercase

toUpperCase: Convert to uppercase

random: Random

round: Rounding

ceil: Rounding up

floor: Round down

abs: Take the absolute value

max: Maximum value

min : Minimum value

pow: Power operation

sqrt: Taking the square root

new: New

date:Date

time:Time

year:Year

month:month

hour:hour

minute:minute

second:second

millisecond:millisecond

status:status

alert: warning

confirm:confirm

prompt:prompt

open:open

setInterval: Set a recurring timer

setTimeout: Set a one-time timer

clear : Clear

close : Close

replace : Replace

back : Back

go

width:Width

height:Height

appName:Program name

appCodeName:Program code

appVersion:Program version

appAgent: Program Agent

clientX

clientY

srcElement: Source object, event

cancel:Cancel

bubble:Bubble

keyCode:Key value

this: This, currently

onload: When loading

onclick: When clicking

ondblclick: When double-clicking

onmouseover: When the mouse enters

onmouseout: When the mouse leaves

onmousemove: When the mouse moves

onmousedown: When the mouse is pressed

onmouseup : When the mouse is lifted

onkeydown : When the key is pressed

onkeyup : When the key is lifted

onkeypress: On key press

onsubmit: On submission

onchange: On change

onfocus: When gaining focus

onblur: When losing focus

document: Document

write: Write

getElementById: Get the object by ID

getElementsByName

element: element, object

option: option

attribute: attribute

child : child, subordinate

parent: parent, superior

node: node

first: First

last: Last

next: Next

previous:Previous

create:Create

append:Append

You can learn PHP even if your English is not good, and learn all English related to PHP Words:

HTML English word summary (PHP novice collection)

CSS English word summary (PHP novice collection)

JavaScript English word summary (PHP novice collection)

PHP English word summary (PHP novice collection)

"MySQL English word summary (PHP novice collection)"

[Related recommendations: javascript video tutorial, web front-end,PHP video tutorial

The above is the detailed content of JavaScript English word summary (PHP novice collection). For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete