Preperation
- W3Schools Documentation:
- MDN Documentation:
In class:
- Write a JS file in an editor, and run it using the console window
- Look a some alternate ways of writing functions in JavaScript
Active Learning
- Write a JavaScript function that takes two numbers as parameters, and returns an array
of their sum and product.
- Use the console window to call your function and log its output
MSU Bozeman
Montana State University
358 Barnard Hall
P.O. Box 173880
Bozeman, MT 59717-3880
Email
daniel.defrance@montana.edu