three basic data typestextnumberboolean变量var var_name; 用'='初始化变量var var_name = ini_value;const (不是所有浏览器都支持const)声明:const const_name = ini_value;nan: n...
分类:
编程语言 时间:
2014-08-19 23:55:55
阅读次数:
254
DescriptionPercy likes to be punctual. So much so that he always keeps three watches with him, so that he can be sure exactly what the time is. Howeve...
分类:
其他好文 时间:
2014-08-19 12:24:34
阅读次数:
226
1 Mid-Autumn Festival eg. The Dragon Boat Festival is one of three major Chinese holidays,along with the Spring and Moon Festivals.端午节是三个中国主要节日之一,另两个是...
分类:
其他好文 时间:
2014-08-19 00:46:53
阅读次数:
242
Problem DescriptionGiven three strings, you are to determine whether the third string can be formed by combining the characters in the first two strin...
分类:
其他好文 时间:
2014-08-18 17:46:52
阅读次数:
244
【three.js详解之二】渲染器篇本篇文章将详细讲解three.js中渲染器(renderer)的设置方法。three.js文档中渲染器的分支如下:RenderersCanvasRendererDOMRendererSVGRendererWebGLRendererWebGLRenderTarget...
分类:
Web程序 时间:
2014-08-18 10:35:03
阅读次数:
322
【three.js详解之一】入门篇开场白webGL可以让我们在canvas上实现3D效果。而three.js是一款webGL框架,由于其易用性被广泛应用。如果你要学习webGL,抛弃那些复杂的原生接口从这款框架入手是一个不错的选择。博主目前也在学习three.js,发现相关资料非常稀少,甚至官方的a...
分类:
Web程序 时间:
2014-08-18 10:30:03
阅读次数:
320
Treblecross is a two player gamewhere the goal is to get three X in a row on a one-dimensional board. At the startof the game all cells in the board is empty. In each turn a player puts a X in an empt...
分类:
其他好文 时间:
2014-08-17 17:03:33
阅读次数:
358
We have seen built-in functions that take a variable number of arguments. For example range can take one, two or three arguments.It is possible to wri...
分类:
其他好文 时间:
2014-08-17 16:52:32
阅读次数:
272
Problem Description
Given three strings, you are to determine whether the third string can be formed by combining the characters in the first two strings. The first two strings can be mixed arbitra...
分类:
其他好文 时间:
2014-08-17 13:04:42
阅读次数:
205
Three FamiliesThree families share a garden. They usually clean the garden together at the end of each week, but last week, family C was on holiday, s...
分类:
其他好文 时间:
2014-08-17 02:26:01
阅读次数:
264