sts10 / animal-prototype

A simple Animal object factory implemented as both a Ruby class and a JavaScript prototype

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An example of a JavaScript prototype

A simple Animal object factory implemented as both a Ruby class and a JavaScript prototype for comparison/learning.

See my blog post for a detailed walk-through.

About

A simple Animal object factory implemented as both a Ruby class and a JavaScript prototype

License:Other


Languages

Language:JavaScript 57.9%Language:Ruby 42.1%