Home > Web Front-end > JS Tutorial > The simplest code to create an array in javascript_javascript skills

The simplest code to create an array in javascript_javascript skills

WBOY
Release: 2016-05-16 19:05:56
Original
1081 people have browsed it

日一二三四五六'.split('') 
['日','一','二','三','四','五','六'] 
Array('日','一','二','三','四','五','六') 
new Array('日','一','二','三','四','五','六') 
这里是输入的代码内容 


[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template