Skip to content

Chapter 2: Functions, Confusing Grammar #1697

Open
@brandedcow

Description

@brandedcow

Last sentence in the 7th paragraph is phrased in a confusing way:

Not all languages treat functions as values, but it's essential for a language to support the functional programming pattern, as JS does.

Some suggested alternatives:

  • Not all languages treat functions as values, but it's essential for a language that supports the functional programming pattern, as JS does.
  • Not all languages treat functions as values, but it is essential for languages that support the functional programming pattern, like JS.

Edition: 2nd

Book Title: YDKJSY

Chapter: 2

Section Title: Functions

Problem: Grammar

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions