Skip to content

Fix strict mode .length lookup on string primitives - #2165

Merged
kibertoad merged 1 commit into
handlebars-lang:masterfrom
theodorejb:fix-strict-string-length
Jun 14, 2026
Merged

Fix strict mode .length lookup on string primitives#2165
kibertoad merged 1 commit into
handlebars-lang:masterfrom
theodorejb:fix-strict-string-length

Conversation

@theodorejb

Copy link
Copy Markdown
Contributor

Resolves #2164

@theodorejb theodorejb changed the title Fix strict mode .length lookup on string primitives Fix strict mode .length lookup on string primitives Jun 7, 2026
@kibertoad
kibertoad merged commit db06ebb into handlebars-lang:master Jun 14, 2026
7 of 8 checks passed
@theodorejb
theodorejb deleted the fix-strict-string-length branch June 17, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strict mode: .length works on arrays, but throws error on string

2 participants