bigskysoftware / bigskysoftware/_hyperscript

Passing an object's property to a behavior results in undefined . [BUG]

Open
#550 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
172
PR merge metrics
No merged PRs in 30d

Description

```html


init
set $obj to {a:10,b:40}
end

behavior logval(val)
on click
log val
end
end



first button


second button

```
It is expected for `10` to appear in the console as a result of pressing the _second button_ but `undefined` is returned .

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.