Created
December 5, 2014 08:59
-
-
Save prio101/e1b9f09fe58a197cee9b to your computer and use it in GitHub Desktop.
// source http://jsbin.com/seraqi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<script> | |
var person , lastName ; | |
lastName ="Reyes" ; | |
person = function(){ | |
return this.lastName; | |
}; | |
person(); | |
person.apply({lastName:"Cooper"}); | |
</script> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
var tasks; | |
tasks = [ | |
{ | |
text : "Pay The Bill", | |
complete : false, | |
priority:1 | |
}, | |
{ | |
text:"write best-seling novel", | |
complete : false, | |
priority:3 | |
}, | |
{ | |
text:"Walk the dog", | |
complete:false, | |
priority:2 | |
} | |
]; | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">var tasks; | |
tasks = [ | |
{ | |
text : "Pay The Bill", | |
complete : false, | |
priority:1 | |
}, | |
{ | |
text:"write best-seling novel", | |
complete : false, | |
priority:3 | |
}, | |
{ | |
text:"Walk the dog", | |
complete:false, | |
priority:2 | |
} | |
];</script></body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var tasks; | |
tasks = [ | |
{ | |
text : "Pay The Bill", | |
complete : false, | |
priority:1 | |
}, | |
{ | |
text:"write best-seling novel", | |
complete : false, | |
priority:3 | |
}, | |
{ | |
text:"Walk the dog", | |
complete:false, | |
priority:2 | |
} | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment