ThatAIguyA world of ideas

THE CONSCIOUSNESS ATLAS
Read. Experiment. Follow the evidence.

ConsciousnessLearn · Explore · Joseph Anady

Janady13/School-Work / School Work/What are Constructor Functions/books.js

Source identity, revision, and recovered contents.

GitHub sourceSource text recovered

Source identity

FieldRecorded value
Source typeGitHub source
Original recordJanady13/School-Work / School Work/What are Constructor Functions/books.js
DateNot specified in source
RepositoryJanady13/School-Work
Revision4a666c890caf7c43c47d0572dbcc287373c7a78e
Branchmain
Path or archive memberSchool Work/What are Constructor Functions/books.js
Original SHA-25654f0f839e86ff85a7123817ab6386c624b78d768aaa005b685d37d0cbb0867f1
Git blob SHAaf7a11093192fc417c3173b646d05bcadf30185c
Reading-copy SHA-25654f0f839e86ff85a7123817ab6386c624b78d768aaa005b685d37d0cbb0867f1

Original source ↗

Recovered source transcript

function Book(title, author, themes=[]) { this.title = title; this.author = author; this.themes = themes; } Book.prototype.addthemes = function(theme){ this.themes =[...this.themes, theme] } const book1 = new Book ('Eye of the World', "Robert Jordan", "Fantasy"); const book2 = new Book ("StormLight Archieve","Brandon Sanderson","Action"); console.log(book1); console.log(book2); book1.addthemes("action") book2.addthemes("Fantasy") console.log(book1) console.log(book2)

Search equations, builds, manuscript text, and recovered sources.