<commit_before>// Use with traceur: traceur simple-generators.js --experimental

"use strict";

function Klass() {

    this.value = 2;

    this.test = (p, q = 6) => p * q * this.value;
}

var klass = new Klass();

console.log(klass.test(3));<commit_msg>test default param<commit_after>// Use with traceur: traceur simple-generators.js --experimental

"use strict";

function Klass() {

    this.value = 2;

    this.test = (p, q = 6) => p * q * this.value;

    this.rest = (...args) => console.log(args);
}

var klass = new Klass();

console.log(klass.test(3));

console.log(klass.rest("test", "other test"));
{'fraction_non_alphanumeric': 0.18137254901960784, 'fraction_numerical': 0.00980392156862745, 'mean_word_length': 3.3785714285714286, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2593276', 'n_tokens_mistral': 227, 'n_tokens_neox': 220, 'n_words': 57}