Yes, you can use the functions New and => like this:

1
let args = New ["id" => 1; "title" => "my title"]

The compiler optimizes this to a plain JavaScript object creation.

By on 8/9/2016 12:44 PM ()

Cool! That's what I was looking for.

By on 8/9/2016 10:22 PM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper