Skip to content

Instantly share code, notes, and snippets.

@prio101
Created December 5, 2014 08:59
Show Gist options
  • Save prio101/e1b9f09fe58a197cee9b to your computer and use it in GitHub Desktop.
Save prio101/e1b9f09fe58a197cee9b to your computer and use it in GitHub Desktop.
<!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>
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