because Unary can convert string representations of integers and floats including non-string values to true, false and null. Integers into decimal and hexadecimal and even negative numbers
@iamrkcheers Welcome to the JavaScript chat! Please review the room rules. Pleasedon't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
why can i return context.Items to my angular $http.get(url) call, but when i do context.Items.Include("SubItemA").Include("SubItemB") I get "Possibly unhandled rejection: {"data":null,"status":-1,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"jsonpCallbackParam":"callback","url":"/api/Samples","headers":{"Accept":"application/json, text/plain, /"}},"statusText":""}" error message? context is EntityFrameworkCore.
nevermind... figured it out. wasn't a javascript issue, aspnetcore issue
@rlemon some place around me just started serving poutine. gravy cheese fries are nothing special, but it's the first time someone said poutine. I have no idea how 'authentic' it is.
just trying to prevent noobs from pointlessly optimizing
speed differences between reduce and map are rarely people's problem. while can be faster because it's not calling a function each iteration, but that's still rarely the problem for a loop of only 100 iterations.
that makes sense. Because real performance bottlenecks should probably be written in C anyway. Unless you are dealing with a stream of data, in which case optimization would make sense.
Yeah but it works regardless though with what I tried :
`import { SockJSClass } from "@types/sockjs-client";` But I've never seen imports of typedefinitions