http://bellard.org/jslinux/這是滿足JS程式員口味的linux模擬器。系統啟動後,黑屏白字的命令列操作,讓程式員的我們感覺就是舒服!習慣的,輸入 ls 看看裡面有什麼東東:hello.c輸入vi hello.c 用 VIM 看看 hello.c 的源碼。驚!還真的進入了VIM編輯器!輸入 i 進行 VIM 的插入模式,來隨便修改下原始碼。把字串 "hello world" 改為 "hello George Wing"。然後按 Esc 鍵退出插入模式,輸入:wq
JavaScript中產生HTML的字元格式設定函數str.anchor("anchor1") <A NAME="anchor1">This is a string</A> This is a string str.big() <BIG>This is a string</BIG> This is a string str.blink() <BLINK>This is a string</BLINK > This is a
JavaScript language overviewJavaScript syntax, operators, and flow-control statements are similar to those in the C language. It includes if, else, switch, break, for, while, do, and return statements which behave almost identically to their C
WebKit on the iPhone (Part 1)If you develop an application which should display a web page or HTML file, you can use the WebKit framework, which is part of the MacOS and also of the iPhone OS.But while on the Mac, the WebKit framework provides
Although JavaScript provides a bunch of methods for getting and setting parts of a date object, it lacks a simple way to format dates and times according to a user-specified mask. There are a few scripts out there which provide this functionality,