Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
The Little Book on CoffeeScript
SPECIAL OFFER: Upgrade this ebook with O’Reilly
Preface
What Is CoffeeScript?
Initial Setup
Conventions Used in This Book
Using Code Examples
Safari® Books Online
How to Contact Us
1. CoffeeScript Syntax
Variables and Scope
Functions
Function Arguments
Function Invocation
Function Context
Object Literals and Array Definition
Flow Control
String Interpolation
Loops and Comprehensions
Arrays
Aliases and the Existential Operator
2. CoffeeScript Classes
Instance Properties
Static Properties
Inheritance and Super
Mixins
Extending Classes
3. CoffeeScript Idioms
Each
Map
Select
Includes
Property Iteration
Min/Max
Multiple Arguments
And/Or
Destructuring Assignments
External Libraries
Private Variables
4. Compiling CoffeeScript
Cake
Creating Applications
Structure and CommonJS
Requiring files
Exporting properties
Stitch It Up
JavaScript Templates
Bonus: 30-Second Deployment with Heroku
Additional Libraries
5. The Good Parts
The Unfixed parts
Using eval
Using typeof
Using instanceof
Using delete
Using parseInt
Strict Mode
Strict Mode Changes
Strict Mode Usage
The Fixed Parts
A JavaScript Subset
Global Variables
Semicolons
Reserved Words
Equality Comparisons
Function Definition
Number Property Lookups
JavaScript Lint
6. The Little Conclusion
Philosophy
It’s Just JavaScript
Build Your Own JavaScript
About the Author
SPECIAL OFFER: Upgrade this ebook with O’Reilly
← Prev
Back
Next →
← Prev
Back
Next →