jypi
  • Explore
ChatWays to LearnMind mapAbout

jypi

  • About Us
  • Our Mission
  • Team
  • Careers

Resources

  • Ways to Learn
  • Mind map
  • Blog
  • Help Center
  • Community Guidelines
  • Contributor Guide

Legal

  • Terms of Service
  • Privacy Policy
  • Cookie Policy
  • Content Policy

Connect

  • Twitter
  • Discord
  • Instagram
  • Contact Us
jypi

© 2026 jypi. All rights reserved.

Computer Science 30
Chapters

1Orientation and Setup

2JavaScript Fundamentals

3p5.js Foundations

4Shapes and Color

5Interaction and Animation

6Sound and Audio

7Functions, Scope, and Modules

Function declarations and expressionsArrow functions and thisParameters defaults and restReturn values and early exitsScope var let constClosures and lexical scopeHigher order functionsPure functions and side effectsOrganizing code into filesES modules import exportNamespaces and globalsBuilding a utilities moduleReusing code across sketchesWriting documentation with JSDocManaging dependencies with npm

8Number Systems and Recursion

9Object-Oriented Programming

10Data Structures and Algorithms

11External Files, Libraries, and Capstone Project

Courses/Computer Science 30/Functions, Scope, and Modules

Functions, Scope, and Modules

13 views

Write modular, maintainable code using functions, closures, and ES modules.

Content

8 of 15

Pure functions and side effects

Original version
0 views

Versions:

Version 18633

Watch & Learn

AI-discovered learning video

Sign in to watch the learning video for this topic.

Sign inSign up free

Start learning for free

Sign up to save progress, unlock study materials, and track your learning.

  • Bookmark content and pick up later
  • AI-generated study materials
  • Flashcards, timelines, and more
  • Progress tracking and certificates

Free to join · No credit card required

Unlock this content

Sign up free to view this chapter, save your progress, and unlock study modes.

  • Full chapters & explanations
  • Flashcards & practice
  • Track progress
Sign inCreate free account
Flashcards
Mind Map
Speed Challenge

Comments (0)

Please sign in to leave a comment.

No comments yet. Be the first to comment!

Ready to practice?

Sign up now to study with flashcards, practice questions, and more — and track your progress on this topic.

Study with flashcards, timelines, and more
Earn certificates for completed courses
Bookmark content for later reference
Track your progress across all topics