oleksiyrudenko / a-tiny-js-world Goto Github PK
View Code? Open in Web Editor NEWA tiny task for those who isn't familiar with OOP and JS OOP in particular yet
Home Page: http://OleksiyRudenko.github.io/a-tiny-JS-world/
License: MIT License
A tiny task for those who isn't familiar with OOP and JS OOP in particular yet
Home Page: http://OleksiyRudenko.github.io/a-tiny-JS-world/
License: MIT License
Fix link to 'A guide to prototype-based class inheritance in JavaScript'
... so students are forced to list props explicitly for output and avoid Object
methods.
E.g.:
secretName
for all inhabitants, non-printable,lastName
for all humans, non-printable,E.g. #50 can be a next level as well as a CatWoman, friends.
Current situation: friends are optional feature
Target situation:
addFriends
adds friends, skips duplicatesThis project needs an emblem.
Anything like the one in the bottom would fit.
Please, share your own artwork or refer to someone who could be of help. Permission to use the asset in non-commercial open source projects is required.
What the asset owner will get:
Thank you!
Embedded image link source: http://www.tactus.com/blog/create-amazing-360-degree-tiny-planet-photos-videos/
Requires exported functions with pre-defined signatures to
Have at least 2 predefined objects that use different order of keys.
Require particular order of props and each prop tagged like `legs: xx; `
Requires all classes exported. Uses Inhabitant
, Dog
, Cat
, Human
.
Requires properties (legs, hands, paws, name, species, breed, friends, gender
-- as per pets vs humans)
Set of "silent" props is assigned randomly per student. Silents some are for humans, other for pets, and shared. Props are tested as well.
Classes are expected to have methods:
toString
(general presentation)hasTail
(all classes; humans shouldn't have tail
prop)getBreed
(only pets)getFriends
(returns array)Test cases and pre-defined code (except for implementation templates) should not be changed. Checksums? No commit intervening into those files?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.