Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
luocq committed Jul 8, 2016
1 parent 35da31c commit 1e633b8
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions js/No01.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@

<html>
<head>
<meta charset=utf-8">
</head>
<body>
<script>
var msg = "Hello,welcome to my website,";
var name = "LCQ<br/>";
document.write(msg+name);
for(i=0;i<100;i++)
var msg = "Hello,welcome to Javascript World,";
document.write(msg+"<br/>");
document.write("斐波那契数列:");
var a = 0;
var b =1;
var c =a+b;
document.write(b+"\n");
document.write(c+"\n");

for(var i =0;i<10;i++)
{
document.write(i+"<br/>");
a=b;
b=c;
c=a+b;
document.write(c+"\n");
}
var now = new Date();
document.write(now.getFullYear());

console.log("------------Hello");
console.log("-----------Hello");
console.log("----------Hello");
Expand Down

0 comments on commit 1e633b8

Please sign in to comment.