<commit_before>'use strict';

/* property.js
 * Object to represent CSS properties.
 */

const create = require('./create');

let Property = create(function(){

}, {

});

module.exports = exports = Property;<commit_msg>Add property object's code.<commit_after>'use strict';

/* property.js
 * Object to represent CSS properties.
 */

const create = require('./create');

let Property = create(function(name, values){
  this.name = name;
  this.items = [];
  if (arguments.length <= 2) this.items = values;
  else this.items = Array.prototype.slice.call(arguments, 1);
}, {

  add: function(){
    this.items.push(...arguments);
    return this;
  },

  remove: function(loc){
    this.items.splice(loc, 1);
    return this;
  },

  set: function(loc, value){
    this.items[loc] = value;
    return this;
  },

});

module.exports = exports = Property;
{'fraction_non_alphanumeric': 0.1652989449003517, 'fraction_numerical': 0.0035169988276670576, 'mean_word_length': 3.4947368421052634, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, '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': '1948637', 'n_tokens_mistral': 272, 'n_tokens_neox': 263, 'n_words': 67}