/* Array */
() �
() �
s=("str1","str2") //Add an array from behind, s is the addition record
s=() �
s=() �
s=("str1","str2") //Add array from the front, s is to add records
s=(3,2,"aa","bb") //Start after the third of the array, delete the two arrays backwards, and add a new array at that location. s is the addition record
s=(2,4) �
s=(Ar2) �
s=("#") �
/* Function */
Sample:function Test(arg1,arg2)
Use:Test("ddd", "sss", "fff")
//:
: �
: �
(obj, [arg1, arg2]) /Make the specified object (obj) have the properties and methods of Test.
(obj, arg1, arg2) /Make the specified object (obj) have the properties and methods of Test.
arguments:
: //The currently executed function (return function).
(new Test).constructor: //View the construction (return function) of the new instance (Test()).
/* String */
(3,-5) �
(3,6) //From the value after the third string, get the 6th one.
(3,6)
(4) //Return the decimal encoding of the 5th string.
(4)
() �
() �
(",") �
("aaa") //Find the position of aaa in a string, generally used with regular expressions.
("aaa") //Find the position of aaa in the string.
("aaa") //From the back to find where "aaa" appears in the string.
("aaa") //Take "aaa" from Str, return null or array, generally used with regular expressions.
("aaa","bbb") //Replace the first "aaa" with "bbb", which is generally used with regular expressions.
(39080) //Return a character generated by decimal encoding.
str1=(str3)