Na falta de um site decente e realmente atualizado com os eventos de front-end que vão rolar, dê um pulo aqui ;)
- Quando: 24/08
- Onde: São Paulo, SP
- Preço: R$ 250,00
var a = function() { | |
var b = 0; | |
return function() { | |
b = b + 1; | |
return b; | |
}; | |
}; | |
var d = a(); |
function book(name, author, content, date) { | |
var name = name, | |
author = author, | |
content = content, | |
date = date; | |
var self = { | |
containsWord: function(word) { | |
return content.indexOf(word) >= 0; | |
}, |
function book(name, author, content, date) { | |
var name = name; | |
var author = author; | |
var content = content; | |
var date = date; | |
var self = { | |
containsWord: function(word) { | |
return content.indexOf(word) >= 0; | |
}, |
function book(name, author, content, date) { | |
var name = name; | |
var author = author; | |
var content = content; | |
var date = date; | |
var self = { | |
findWord: function(word) { | |
return content.indexOf(word) >= 0; | |
}, |
function book(name,author,content,date) { | |
var name = name; | |
var author = author; | |
var content = content; | |
var date = date; | |
var self = { | |
findWord: function(word) { | |
return content.indexOf(word)>=0; | |
}, |
//this function represents a book from an online library | |
//it has 3 methods to search the book, remove a specific word and change it | |
//it has 4 attributes, name, author, date and content | |
//creates libaries stuffz | |
function book(name,author,content,date) { | |
var name = name; | |
var author = author; | |
var content = content; | |
var date = date; |
//this function represents a book from an online library | |
//it has 3 methods to search the book, remove a specific word and change it | |
//it has 4 attributes, name, author, date and content | |
//creates libaries stuffz | |
function elementliBRaryContent(a,b,c,d) { | |
var bnam = a; | |
var baut = b; | |
var bdat = c; | |
var bcont = d; |
//this function represents a book from an online library | |
//it has 3 methods to search the book, remove a specific word and change it | |
//it has 4 attributes, name, author, date and content | |
//creates libaries stuffz | |
function elementliBRaryContent(a,b,c,d) { | |
var bnam = a;var baut = b; | |
var bdat = c; | |
var bcont = d; | |
var self = { findword: function(x) { return bcont.indexOf(x)>=0;}, |
var doors = [false, false ,true]; | |
var didntChangeDoorCount = 0; | |
var changedDoorCount = 0; | |
for(i=0;i<10000;i++) { | |
var picker = Math.floor(Math.random()*3); | |
//dont change | |
if(doors[picker]) didntChangeDoorCount++; | |