ubuntu@alekhin:~$ cat > a.js print("hello") ubuntu@alekhin:~$ js24 a.js Segmentation fault (core dumped) ubuntu@alekhin:~$ sudo dpkg -i libmozjs-24-bin_24.2.0-3ubuntu2.1_arm64.deb (Reading database ... 101897 files and directories currently installed.) Preparing to unpack libmozjs-24-bin_24.2.0-3ubuntu2.1_arm64.deb ... Unpacking libmozjs-24-bin (24.2.0-3ubuntu2.1) over (24.2.0-3ubuntu2) ... Setting up libmozjs-24-bin (24.2.0-3ubuntu2.1) ... ubuntu@alekhin:~$ js24 a.js hello ubuntu@alekhin:~$
ubuntu@alekhin:~$ cat > a.js 24-bin_ 24.2.0- 3ubuntu2. 1_arm64. deb 24-bin_ 24.2.0- 3ubuntu2. 1_arm64. deb ...
print("hello")
ubuntu@alekhin:~$ js24 a.js
Segmentation fault (core dumped)
ubuntu@alekhin:~$ sudo dpkg -i libmozjs-
(Reading database ... 101897 files and directories currently installed.)
Preparing to unpack libmozjs-
Unpacking libmozjs-24-bin (24.2.0-3ubuntu2.1) over (24.2.0-3ubuntu2) ...
Setting up libmozjs-24-bin (24.2.0-3ubuntu2.1) ...
ubuntu@alekhin:~$ js24 a.js
hello
ubuntu@alekhin:~$