Javascript functions with numbers in name return "Must be a function invocation" error

This issue has been tracked since 2022-09-08.

_hyperscript v0.9.7

I noticed this strange behaviour and I don't know if I doing something wrong or it's a bug.

If a Javascript function has a number in its name _hyperscript returns the error Must be a function invocation.

Take for example the following code: the value of the first INPUT is sent to the function text101 which simply returns the same string which is put as value of the second INPUT.

_hyperscript returns Must be a function invocation error.

If you rename the function removing the number '101', the code works properly.

<input id="one" type="text" 
    _="on keyup call text101(my.value) then put result into #two.value">

<input id="two" type="text">

<script type="text/javascript">
    function text101(s) {
        return s;
1cg wrote this answer on 2022-10-04

Sounds like a lexing error, I will look at it for the next release

More Details About Repo
Owner Name bigskysoftware
Repo Name _hyperscript
Full Name bigskysoftware/_hyperscript
Language JavaScript
Created Date 2020-05-27
Updated Date 2022-11-25
Star Count 1265
Watcher Count 18
Fork Count 75
Issue Count 86


Issue Title Created Date Updated Date