Warlockk
Warlockk
DDeno
Created by Warlockk on 5/29/2024 in #help
I can't write Uint32Array on a file.
I want to write an Uint32Array type to a file, but i always have the following error:
error: Uncaught (in promise) TypeError: expected typed ArrayBufferView
error: Uncaught (in promise) TypeError: expected typed ArrayBufferView
I tried using Deno.writeFileSync and writeFileSync from node:fs, but no one worked. What can I do? It seems like Deno is limiting us to write only the Uint8Array type.
3 replies
DDeno
Created by Warlockk on 4/23/2024 in #help
Is this correct for Javascript?
https://github.com/tc39/proposal-change-array-by-copy This is my opinion about it: This kind of proposal are very harmful for JS/TS. What will we do? Duplicate every method that could create a new modified Array/Object? The learning curve got duplicated for mutable methods. Why do we allow this? We need to stop this at its roots now that we have time, before it's too late. I don't know where could i do propose this, but i have to express myself: I want to remove those stup*d new methods an create a new one called .clone() that allows to developers clone the object...
11 replies
DDeno
Created by Warlockk on 3/18/2024 in #help
Visual Studio Code Deno does not use node types
No description
4 replies