inline...
> On Dec 19, 2014, at 3:21 PM, James Burke wrote:
>
> On Thu, Dec 18, 2014 at 6:13 PM, caridy wrote:
>> What does this means?
>>
>> * no loader (if you need on-demand loading, you can insert script tags with
>> type=module, similar to what we do today for scripts)
>> * no hooks or se
On Thu, Dec 18, 2014 at 6:13 PM, caridy wrote:
> What does this means?
>
> * no loader (if you need on-demand loading, you can insert script tags with
> type=module, similar to what we do today for scripts)
> * no hooks or settings (if you need more advanced features, you will have to
> deal with
Few languages contains feature known as while ... else.
It's very useful for special treatment of empty iterators.
In JS following code :
while (expr) {
/* code */
} else {
/* other code */
}
can be equivalent to :
let temp = expr ;
if (temp) {
while (temp) {
/* code */
Done: https://github.com/tc39/agendas/blob/master/2015/01.md
On Fri Dec 19 2014 at 12:26:33 PM Jason Orendorff
wrote:
> Having said that, I do think Reflect.isCallable and isConstructor
> would be a fine addition to ES7. These places where we check if an
> internal method exists feel like a sort
Having said that, I do think Reflect.isCallable and isConstructor
would be a fine addition to ES7. These places where we check if an
internal method exists feel like a sort of secret-handshake part of
the MOP; we should expose them.
Any objections?
Would someone please add it to the agenda for th
On Tue, Dec 16, 2014 at 3:05 PM, Tom Schuster wrote:
> Hello,
>
> right now there is no way in normal JS code to replicate the IsConstructor
> check defined in 7.2.4.
function isConstructor(obj) {
var p = new Proxy(obj, {construct() { return p; }});
try {
new p;
} catch (exc)
On Fri, Dec 19, 2014 at 9:08 AM, Bradley Meck
wrote:
> Can you even deprecate sloppy mode?
>
If you mean, can we get rid of it? Then no.
If you mean, can we discourage people from using it, and sneer at the
people who still do? Then yes.
Otherwise, please clarify what you mean by the question.
Can you even deprecate sloppy mode? I know dev tools often use it to inject
the dev console extension APIs safely
On Fri, Dec 19, 2014 at 10:55 AM, Jason Orendorff wrote:
>
> AK> I think we should either deprecate one of the modes, or officially
> support multiple modes and provide a method to sw
AK> I think we should either deprecate one of the modes, or officially
support multiple modes and provide a method to switch between them.
MM> Feel free to consider sloppy mode deprecated. I do.
CP> Well sure, but unfortunately it’s not going to just disappear :(
MM> See how much good deprecatin
Is there somebody interested in this? The draft spec is rather simple:
Reflect.isCallable (target)
1. If Type(target) is not Object, then throw a TypeError exception.
2. Return the result of calling the abstract operation IsCallable(target).
Reflect.isConstructor (target)
1. If Type(target) is
10 matches
Mail list logo