Thumbnail jsfunctions a931dafd43b218f76ef161119f05c3fb1ee7e8fadaf0dab97f73d604bbf20698
Please sign in for access to all the free videos.
Fundamentals: 03 Functions
Functions are special objects that can be called and executed. You can define behavior and reuse it later, which opens up a lot of new concepts and power for coding.
Arun Kumar Dadhwal Jun 14, 2017
Thank you!
Mitchell Murry Aug 04, 2017
Hey why would I be getting an Unexpected newline error? superman = name: "Clark Kent" realName: "Kal-El" strenght = 9001 punchBatman = () -> batman.health -= this.strength batman = name: "Bruce Wayne" health: 5000 deployKryptonite = () -> superman.strength *= 0.10