Open
Description
Hi there!
Could we get fetch
support?
Assuming the following index.js
:
(async () => {
const response = await fetch("https://api.github.com/users/cnuss");
const data = await response.json();
console.log(data.url);
})();
The output of npx porffor index.js -d
is:
npx porffor index.js -d
name (ByteString) | 285 (1d 01 00 00)
value: ReferenceError (ByteString) | 6661 (00 00 00 00 00 05 ba 40)
flags: 0b1110 0e c3
accessor: false
configurable: true
enumerable: true
writable: true
message (ByteString) | 402 (92 01 00 00)
value: fetch is not defined (in #anonymous_0) (ByteString) | 9616 (00 00 00 00 00 c8 c2 40)
flags: 0b1110 0e c3
accessor: false
configurable: true
enumerable: true
writable: true
constructor (ByteString) | 320 (40 01 00 00)
value: [name]() {} (Function) | 40 (00 00 00 00 00 00 44 40)
flags: 0b1110 0e 06
accessor: false
configurable: true
enumerable: true
writable: true
Current porffor version:
npx porffor --help
Porffor is a JavaScript/TypeScript engine/compiler/runtime. (0.50.23)
Metadata
Assignees
Labels
No labels