OsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 15 hours agoparseInt(5)lemmy.mlimagemessage-square55linkfedilinkarrow-up1361arrow-down15
arrow-up1356arrow-down1imageparseInt(5)lemmy.mlOsrsNeedsF2P@lemmy.ml to Programmer Humor@programming.dev · 15 hours agomessage-square55linkfedilink
minus-squareTraister101linkfedilinkarrow-up1·6 hours agoYou cannot have a string argument, arguments and variables in JS don’t have a type. All you have in JS is objects. Actual functions, like full on function foo(){} are still objects, like you can actually store data on the things.
You cannot have a string argument, arguments and variables in JS don’t have a type. All you have in JS is objects. Actual functions, like full on
function foo(){}
are still objects, like you can actually store data on the things.