`

Js Built-in Functions

阅读更多
Method	Description
charAt()	Returns the character at the specified index.
concat()	Combines the text of two strings and returns a new string.
forEach()	Calls a function for each element in the array.
indexOf()	Returns the index within the calling String object of the first occurrence of the specified value, or -1 if not found.
length()	Returns the length of the string.
pop()	Removes the last element from an array and returns that element.
push()	Adds one or more elements to the end of an array and returns the new length of the array.
reverse()	Reverses the order of the elements of an array -- the first becomes the last, and the last becomes the first.
sort()	Sorts the elements of an array.
substr()	Returns the characters in a string beginning at the specified location through the specified number of characters.
toLowerCase()	Returns the calling string value converted to lower case.
toString()	Returns the string representation of the number's value.
toUpperCase()	Returns the calling string value converted to uppercase.
分享到:
评论

相关推荐

    《Simply JavaScript 》随书附带代码

    Learn JavaScript's built-in functions, methods, and properties. Easily integrate JavaScript in your web site. Use JavaScript to validate form entries and interact with your users. Understand how to ...

    Learning Underscore.js

    Understand and learn to apply functional programming principles using the built-in functions of Underscore.js Leverage and reuse Underscore.js-based code to create code that targets client, server, or...

    Less Web Development Essentials(PACKT,2ed,2015)

    Then, you venture into the concepts of nested rules, operations, and built-in functions, which help you in the dynamic creation of CSS properties and help you to create shorter and effective style ...

    Less.Web.Development.Essentials.2nd.Edition

    Then, you venture into the concepts of nested rules, operations, and built-in functions, which help you in the dynamic creation of CSS properties and help you to create shorter and effective style ...

    Web开发平台Ophal.zip

    Ophal 是一个可高度伸缩的 Web 平台,旨在简化维护、学习和扩展... jQuery and CSS whenever you need them (using functions addjs() and addcss()) Built-in sandboxed theme engine 标签:Ophal Web框架

    JavaScript - JavaScript Tutorial

    - **JavaScript Built-in objects**:内置对象的参考文档,提供详细的API文档和示例。 - **Browser objects**:浏览器对象的参考文档,包括Window、Document等对象的API说明。 - **HTML DOM objects**:DOM对象的...

    Test-Driven Learning

    Built-in Functions Closure Comparisons Conditionals Exceptions Falsey Values Functional Javascript (new) Function Expressions Function Expressions as Parameters Functions General ...

    Javascript.Object.Oriented.Programming.pdf

    Learn to build scalable server application in JavaScript using Node.js Generate instances in three programming languages: Python, JavaScript, and C# Work with a combination of access modifiers, ...

    selector-lite:一个小型的纯JavaScript CSS选择器引擎

    // Can be used to implement browser built-in functions. function getElementById ( id ) { return selector . find ( this , "#" + id , true ) } function getElementsByTagName ( tag ) { return selector ....

    DynamicWrapperX

    DynamicWrapperX is an ActiveX component (COM server) inspired by ...Added several useful (IMHO) built-in methods. ---------------------------------------------------------------------------

    PaxCompiler_v2.1_27nov08 full source

    paxCompiler is an embeddable compiler of the Object Pascal ...The roadmap of the compiler includes: JavaScript compiler, Basic compiler and C compiler, cross-language programming, built-in assembler.

    JSON2.JS JSON.JS JSON_PARSE.JS

    prefering the built-in JSON object. json.js: This file does everything that json2.js does. It also adds a toJSONString method and a parseJSON method to Object.prototype. Use of this file is not ...

    PaxCompiler v3.1 DateCode 2012/12/17 Full Source

    paxCompiler is an embeddable compiler of the Object Pascal, Basic and javascript programming languages....The roadmap of the compiler includes: Java compiler, C++ compiler, built-in assembler.

    paxCompiler for Delphi XE5 (Win32)

    paxCompiler is an embeddable compiler of the Object Pascal, Basic and JavaScript programming languages....The roadmap of the compiler includes: Java compiler, C++ compiler, built-in assembler.

    Object-Oriented JavaScript(PACKT,2ed,2013)

    Rethink JavaScript with this complete and ... Learn how to use prototypes, including augmenting built-in objects and learn coding patterns and design patterns to improve your JavaScript code.

    Pro PHP and jQuery(Apress,2ed,2016)

    Take advantage of the improved performance and reduced memory requirements of PHP version 7, and learn to utilize the new built-in PHP functions and features such as typed variable enforcement with ...

Global site tag (gtag.js) - Google Analytics