Tagged: es6

answers  0
views  1.8K
votes  2

[Snippet] How to return multiple values from a function in ES6  

The following function returns two variables: a credentials object and a transport string. function getEmailConfig() { let credentials = { userName: 'anthony', password: 'pass' ...
Apr 02, 2016
Anthony Perez
{ 4,921 - 970 - 1 }
1  posts
You may also like
When to use 'ref' and 'out' keywords - specifically with strings?
Visual Studio 2015 F10 Debugger key not working
Horizontally centering a <div> inside another <div>
How to Encrypt and Decrypt a string in C#
Server Side Rendering in JavaScript?
Curlybrackets Software
The source code for Curlybrackets (C#/.NET/SQL Server) is available for purchase here. Start your own Q+A site now!

Easily create custom post types: messages, ideas, questions, tickets, whatever.

The Software Pack is a great place to start your corporate Q+A customer support site.